# SLVPN配置
ipsec {
proposal my-proposal {
authentication-method pre-shared-secret
authentication-algorithm sha1
encryption-algorithm aes 256
}
site-to-site {
peer 203.0.113.1 {
authentication {
pre-shared-secret "your_secret_key"
}
connection-type initiate
ike-group my-ike-proposal
local-address 192.168.1.1
set vpn ipsec site-to-site peer 203.0.113.1 authentication mode pre-shared-secret
tunnel 1 {
local {
prefix 192.168.1.0/24
}
remote {
prefix 192.168.2.0/24
}
}
}
}
}
# PPPoE配置
interface Ethernet0
pppoe-client dial-pool-number 1
interface Dialer1
ip address negotiated
ip mtu 1452
ip nat outside
ppp authentication chap callin
ppp chap hostname <your_username>
ppp chap password 0 <your_password>
ppp ipcp route default
# DDNS配置
ip ddns update method dyndns
HTTP
add record A
HOSTNAME ***.***
username your_ddns_username
password your_ddns_password
interval maximum 7d
HTTP
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论