|
|
Hi,
I got a vps account to run a personal vpn. The server is fedora 3 and client is win xp sp2. Default firewall is disabled on windows and there is no other firewall on client side. Client can connect to server and get the new IP, but after establishing the connection, considering that I need all packets go through vpn the only website I can access is my own website, the same server that runs the vpn.
Also I got the #iptables: No chain/target/match by that name error message when I tried to run #iptables -A POSTROUTING -s my.server.ip.address -o eth0 -j MASQUERAD
And this one #tcpdump -i tap0 #tcpdump: bind: Network is down
tun/tap are enabled for my account.
Below is client and server config files.
Any help is appreciated. Thanks.
------------------------------------------- ----client config
client proto udp dev
tap0 remote my.server.ip.address 1194 resolv-retry infinite nobind persist-key persist-tun ns-cert-type server comp-lzo verb 3 mute 20 ca ca.crt cert c_dave.crt key c_dave.key --tls-client -------------------------------------------
------------------------------------------- ----Server config
mode server proto udp port 1194 dev tap0 keepalive 10 120 comp-lzo max-clients 10 persist-key persist-tun verb 5 mute 20 duplicate-cn ca /etc/openvpn/ca.crt cert /etc/openvpn/dostoon.crt key /etc/openvpn/dostoon.key dh /etc/openvpn/dh1024.pem server-bridge my.server.ip.address 255.255.255.0 my.ip.address.150 my.ip.address.200 push "redirect-gateway def1" -------------------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
|