Last active
August 29, 2015 14:06
-
-
Save shellexy/35dd0e652b5190556461 to your computer and use it in GitHub Desktop.
openvpn 和 anyconnect 所用路由
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## openvpn 路由 ## | |
server 10.168.2.0 255.255.255.0 #客户端使用的IP段,不要与你本机的网段冲突# | |
;push "redirect-gateway" | |
push "dhcp-option DNS 8.8.8.8" | |
push "dhcp-option DNS 8.8.4.4" | |
push "route 172.68.2.0 255.255.255.0 vpn_gateway" | |
push "route 3.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 4.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 8.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 17.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 198.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 209.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 210.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 216.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 61.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 64.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 66.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 70.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 72.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 74.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 173.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 204.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 69.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 199.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 203.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 31.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 69.58.0.0 255.255.0.0 vpn_gateway" | |
push "route 46.0.0.0 255.0.0.0 vpn_gateway" | |
push "route 107.0.0.0 255.0.0.0 vpn_gateway" | |
;client-to-client # 注释使得客户端不能直接相互访问 | |
duplicate-cn # 允许多个相同 Common Name 的客户端同时登陆 | |
--- | |
## anyconnect/ocserv 所用路由 ## | |
dns = 8.8.8.8 | |
route = 172.68.2.0/255.255.255.0 | |
route = 3.0.0.0/255.0.0.0 | |
route = 4.0.0.0/255.0.0.0 | |
route = 8.0.0.0/255.0.0.0 | |
route = 17.0.0.0/255.0.0.0 | |
route = 198.0.0.0/255.0.0.0 | |
route = 209.0.0.0/255.0.0.0 | |
route = 210.0.0.0/255.0.0.0 | |
route = 216.0.0.0/255.0.0.0 | |
route = 61.0.0.0/255.0.0.0 | |
route = 64.0.0.0/255.0.0.0 | |
route = 66.0.0.0/255.0.0.0 | |
route = 70.0.0.0/255.0.0.0 | |
route = 72.0.0.0/255.0.0.0 | |
route = 74.0.0.0/255.0.0.0 | |
route = 173.0.0.0/255.0.0.0 | |
route = 204.0.0.0/255.0.0.0 | |
route = 69.0.0.0/255.0.0.0 | |
route = 199.0.0.0/255.0.0.0 | |
route = 203.0.0.0/255.0.0.0 | |
route = 31.0.0.0/255.0.0.0 | |
route = 107.0.0.0/255.0.0.0 | |
route = 69.58.0.0/255.255.0.0 | |
route = 46.0.0.0/255.0.0.0 | |
route = 54.0.0.0/255.0.0.0 | |
# amazon.com | |
route = 72.0.0.0/255.0.0.0 | |
route = 205.0.0.0/255.0.0.0 | |
route = 176.0.0.0/255.0.0.0 | |
# onenote | |
route = 23.0.0.0/255.0.0.0 | |
route = 168.0.0.0/255.0.0.0 | |
#custom-header = "X-My-Header: hi there" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment