strange 2.1.3 routing table at WinXP Pro

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
dhpark
OpenVpn Newbie
Posts: 2
Joined: Thu Sep 02, 2010 12:52 am

strange 2.1.3 routing table at WinXP Pro

Post by dhpark » Thu Sep 02, 2010 1:13 am

Hi
I use Windows XP Pro use 2.1.3version
when i connect then strange routing tables added like below
also disconnect then forget default gateway

-- connect routing table
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 128.0.0.0 11.1.0.1 11.1.1.1 1
0.0.0.0 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.0 0.0.0.0 192.168.255.254 192.168.255.6 20
0.0.0.1 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.2 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.3 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.5 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.17 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.24 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.0.255 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.4.125 255.255.255.255 192.168.255.254 192.168.255.6 1
0.0.11.0 255.255.255.255 192.168.255.254 192.168.255.6 1
0.18.243.236 255.255.255.255 192.168.255.254 192.168.255.6 1
0.18.246.196 255.255.255.255 192.168.255.254 192.168.255.6 1
0.18.247.12 255.255.255.255 192.168.255.254 192.168.255.6 1
0.18.255.192 255.255.255.255 192.168.255.254 192.168.255.6 1
0.64.0.142 255.255.255.255 192.168.255.254 192.168.255.6 1
0.64.146.226 255.255.255.255 192.168.255.254 192.168.255.6 1
0.64.178.43 255.255.255.255 192.168.255.254 192.168.255.6 1
0.64.211.25 255.255.255.255 192.168.255.254 192.168.255.6 1
0.64.215.31 255.255.255.255 192.168.255.254 192.168.255.6 1
0.64.250.204 255.255.255.255 192.168.255.254 192.168.255.6 1
0.65.156.248 255.255.255.255 192.168.255.254 192.168.255.6 1
0.65.159.147 255.255.255.255 192.168.255.254 192.168.255.6 1
0.66.208.169 255.255.255.255 192.168.255.254 192.168.255.6 1
0.66.208.255 255.255.255.255 192.168.255.254 192.168.255.6 1
0.67.211.162 255.255.255.255 192.168.255.254 192.168.255.6 1
0.67.211.225 255.255.255.255 192.168.255.254 192.168.255.6 1
0.69.190.184 255.255.255.255 192.168.255.254 192.168.255.6 1
0.70.12.228 255.255.255.255 192.168.255.254 192.168.255.6 1
0.119.42.216 255.255.255.255 192.168.255.254 192.168.255.6 1
0.119.43.194 255.255.255.255 192.168.255.254 192.168.255.6 1
0.158.85.252 255.255.255.255 192.168.255.254 192.168.255.6 1
0.158.86.84 255.255.255.255 192.168.255.254 192.168.255.6 1
0.158.91.184 255.255.255.255 192.168.255.254 192.168.255.6 1
0.158.96.232 255.255.255.255 192.168.255.254 192.168.255.6 1
0.162.218.12 255.255.255.255 192.168.255.254 192.168.255.6 1
0.162.218.16 255.255.255.255 192.168.255.254 192.168.255.6 1
0.162.220.152 255.255.255.255 192.168.255.254 192.168.255.6 1
0.163.117.16 255.255.255.255 192.168.255.254 192.168.255.6 1
0.163.117.20 255.255.255.255 192.168.255.254 192.168.255.6 1
0.163.136.144 255.255.255.255 192.168.255.254 192.168.255.6 1
0.163.169.132 255.255.255.255 192.168.255.254 192.168.255.6 1
0.163.169.144 255.255.255.255 192.168.255.254 192.168.255.6 1
11.1.0.0 255.255.0.0 11.1.1.1 11.1.1.1 30
11.1.1.1 255.255.255.255 127.0.0.1 127.0.0.1 30
11.255.255.255 255.255.255.255 11.1.1.1 11.1.1.1 30
120.84.94.169 255.255.255.255 192.168.255.254 192.168.255.6 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
128.0.0.0 128.0.0.0 11.1.0.1 11.1.1.1 1
169.254.0.0 255.255.0.0 192.168.255.6 192.168.255.6 20
192.168.2.0 255.255.255.0 192.168.2.6 192.168.255.6 20
192.168.2.6 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.2.255 255.255.255.255 192.168.2.6 192.168.255.6 20
192.168.10.0 255.255.255.0 192.168.10.6 192.168.255.6 20
192.168.10.6 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.10.255 255.255.255.255 192.168.10.6 192.168.255.6 20
192.168.255.0 255.255.255.0 192.168.255.6 192.168.255.6 20
192.168.255.6 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.255.11 255.255.255.255 192.168.255.254 192.168.255.6 1
192.168.255.255 255.255.255.255 192.168.255.6 192.168.255.6 20
224.0.0.0 240.0.0.0 11.1.1.1 11.1.1.1 30
224.0.0.0 240.0.0.0 192.168.255.6 192.168.255.6 20
255.255.255.255 255.255.255.255 11.1.1.1 11.1.1.1 1
255.255.255.255 255.255.255.255 192.168.2.6 10005 1
255.255.255.255 255.255.255.255 192.168.255.6 192.168.255.6 1
Default Gateway: 192.168.255.254
===========================================================================
Persistent Routes:


-- disconnect routing table
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.255.254 192.168.255.6 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 192.168.255.6 192.168.255.6 20
192.168.2.0 255.255.255.0 192.168.2.6 192.168.255.6 20
192.168.2.6 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.2.255 255.255.255.255 192.168.2.6 192.168.255.6 20
192.168.10.0 255.255.255.0 192.168.10.6 192.168.255.6 20
192.168.10.6 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.10.255 255.255.255.255 192.168.10.6 192.168.255.6 20
192.168.255.0 255.255.255.0 192.168.255.6 192.168.255.6 20
192.168.255.6 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.255.255 255.255.255.255 192.168.255.6 192.168.255.6 20
224.0.0.0 240.0.0.0 192.168.255.6 192.168.255.6 20
255.255.255.255 255.255.255.255 192.168.2.6 10005 1
255.255.255.255 255.255.255.255 192.168.2.6 3 1
255.255.255.255 255.255.255.255 192.168.255.6 192.168.255.6 1
===========================================================================
Persistent Routes:

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: strange 2.1.3 routing table at WinXP Pro

Post by krzee » Tue Sep 07, 2010 3:22 am

paste your configs from client and server (without comments)
dont forget to include any ccd entries

dhpark
OpenVpn Newbie
Posts: 2
Joined: Thu Sep 02, 2010 12:52 am

Re: strange 2.1.3 routing table at WinXP Pro

Post by dhpark » Tue Sep 07, 2010 4:36 am

server.conf
------------------------------------
local 0.0.0.0
port 1149
dev tap
proto tcp-server

tls-server
ca ./easy-rsa/keys/ca.crt
cert ./easy-rsa/keys/server.crt
key ./easy-rsa/keys/server.key
dh ./easy-rsa/keys/dh1024.pem

mode server
duplicate-cn
client-config-dir ccd

tun-mtu 1500
tun-mtu-extra 32
mssfix 1450

tls-cipher DHE-RSA-AES256-SHA
comp-lzo
status openvpn-status.log
verb 0
mute-replay-warnings

client-cert-not-required
username-as-common-name

ifconfig 11.1.0.1 255.255.0.0
ifconfig-pool 11.1.1.1 11.1.255.254 255.255.0.0
push "dhcp-option DOMAIN ns.xxx.com"
push "dhcp-option DNS 123.123.123.2"
#push "dhcp-option WINS"
push "route-gateway 11.1.0.1"

ping 10
ping-restart 120
push "ping 10"
push "ping-restart 60"

push "redirect-gateway def1"
push "route remote_host 255.255.255.255 net_gateway"

push "route 11.1.0.0 255.255.255.0 11.1.0.1"
------------------------------

client conf
------------------------------
port 1149
dev tap
proto tcp-client

remote 210.1.1.1

tls-client
ca ca.crt
cert client.crt
key client.key

tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
reneg-sec 1800
pull
float

ping 10
ping-restart 60
comp-lzo
verb 1
auth-user-pass

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: strange 2.1.3 routing table at WinXP Pro

Post by krzee » Thu Sep 09, 2010 1:39 am

push "route remote_host 255.255.255.255 net_gateway"

lose that line
remote_host was not meant to be used like that
also, you go through a lot of effort to re-invent --server
see --server in the manual... it may make your life easier ;)

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: strange 2.1.3 routing table at WinXP Pro

Post by Douglas » Thu Sep 09, 2010 3:30 pm

krzee wrote:push "route remote_host 255.255.255.255 net_gateway"

lose that line
remote_host was not meant to be used like that
also, you go through a lot of effort to re-invent --server
see --server in the manual... it may make your life easier ;)

Dude seriously.. use --server, lol.

Post Reply