10-17-2011, 06:02 PM
Kottonmouth, Could you please help me with my VPN? I'm using Xen CentOS 5.5 64-bit.
I have installed PPTP VPN on my server. When I connect to my server main IP which it is 74.11.33.57. I can connect and get access to the server without no problem, but when I try to connect to another ip which it is 74.11.33.19. I can connect to that IP but the connection is closed after I have connected.
here's the iptables:
Here is the confirguration for /etc/ppp/chap-secrets.
Do you know what is wrong and do you know how to fix it?
I have installed PPTP VPN on my server. When I connect to my server main IP which it is 74.11.33.57. I can connect and get access to the server without no problem, but when I try to connect to another ip which it is 74.11.33.19. I can connect to that IP but the connection is closed after I have connected.
here's the iptables:
Code:
[root@server1 ~]#iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 172.16.36.0/24 anywhere to:74.11.44.57
SNAT all -- 172.16.1.0/24 anywhere to:74.11.44.19
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@server1 ~]#
Here is the confirguration for /etc/ppp/chap-secrets.
Code:
# Secrets for authentication using CHAP
# client server secret IP addresses
testvpn pptpd mypassword 172.16.36.0/24
myusername pptpd mypassword 172.16.1.0/24
Do you know what is wrong and do you know how to fix it?