Created
June 10, 2012 15:50
-
-
Save higebu/2906340 to your computer and use it in GitHub Desktop.
vyatta pptp configuration
This file contains 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
vpn { | |
pptp { | |
remote-access { | |
authentication { | |
local-users { | |
username user { | |
password pass | |
} | |
} | |
mode local | |
} | |
client-ip-pool { | |
start 192.168.0.240 | |
stop 192.168.0.249 | |
} | |
dns-servers { | |
server-1 192.168.0.1 | |
server-2 8.8.8.8 | |
} | |
outside-address 192.168.0.220 | |
} | |
} | |
} | |
nat { | |
source { | |
rule 10 { | |
outbound-interface eth0 | |
source { | |
address 192.168.0.240-192.168.0.249 | |
} | |
translation { | |
address masquerade | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment