OpenVPN client has not default gateway when connect to OpenVPN server
when OpenVPN client(Windows XP) connect to the server(Linux), the client has a new connect:
Code:
Ethernet adapter 3: Code:
tap0 Link encap:Ethernet HWaddr 00:FF:0C:A8:CE:32 It's the server side configure file: Code:
local 192.168.123.153 Code:
client |
Quote:
|
Try this server config.
local 192.168.123.153 port 1194 proto tcp dev tap ca ca.crt cert server.crt key server.key dh dh1024.pem # old ip (same ip as your Tap) # server 10.8.0.0 255.255.255.0 server 10.8.0.1 255.255.255.0 # IF you want your all of your clients traffic though your vpn out your connection then add this. push redirect-gateway 10.8.0.1 ifconfig-pool-persist ipp.txt keepalive 10 120 tls-auth ta.key 0 comp-lzo persist-key persist-tun status openvpn-status.log log openvpn.log log-append openvpn.log verb 9 After that restart your vpn and connect your client. Let me know if it fixes your problem. Thanks |
computerman1983, we really don't like to have zombies walking around here, so if you see that a thread's been dead for a few months or more, please let it rest in peace.
|
All times are GMT -5. The time now is 04:05 PM. |