# 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)
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論