Connected to VPN(PPTP) but no shares.
Using PPTP, I'm able to connect from a remote Windows XP machine to a Windows 2000 VPN Server on 192.168.1.101, via a Redhat gateway. But I can't see or connect to any of the shares! e.g. \\VPNserver\share. I added the following lines to Redhat's iptables enabling the VPN connectivity ...
iptables -t nat -A PREROUTING -i ppp0 -p 47 -s <remoteIP> -j DNAT --to 192.168.1.101
iptables -t nat -A PREROUTING -i ppp0 -p tcp -s <remoteIP> --dport 1723 -j DNAT --to 192.168.1.101:1723
iptables -I FORWARD 1 -p 47 -m state --state NEW -s <remoteIP> -d 192.168.1.101 -j ACCEPT
iptables -I FORWARD 1 -p tcp -m state --state NEW -s <remoteIP> -d 192.168.1.101 --dport 1723 -j ACCEPT
What am I missing to be able to access any shares?
|