B
Børge Nygaard Austvold
Hi,
I've have setup a LAN home using a DSL Router and it works fine using
192.168.1.1 as default gateway. In this LAN I've added a machine and
installed a VPN client to connect to my office. The idea was that this
machine should work as a second gateway for traffice to work but the VPN
software modifies the routing table and forces the default gateway to the
VPN gateway.
This is the routing table after I connect
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 a5 c2 b2 34 ...... Intel(R) PRO/100 VM Network Connection -
Packet Scheduler Miniport
0x3 ...00 c0 45 00 00 02 ...... VPN Client Virtual Adapter #2 - Packet
Scheduler Miniport
0x4 ...00 c0 45 00 00 01 ...... VPN Client Virtual Adapter - Packet
Scheduler Miniport
0x40006 ...00 08 02 f6 40 f1 ...... Compaq WLAN MultiPort W200 - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.19.144.53 172.19.144.53 1
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 31
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.19.144.0 255.255.255.0 172.19.144.53 172.19.144.53 1
172.19.144.53 255.255.255.255 127.0.0.1 127.0.0.1 30
172.19.255.255 255.255.255.255 172.19.144.53 172.19.144.53 30
192.168.1.0 255.255.255.0 172.19.144.53 172.19.144.53 1
192.168.1.103 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.1.255 255.255.255.255 192.168.1.103 192.168.1.103 30
224.0.0.0 240.0.0.0 172.19.144.53 172.19.144.53 1
224.0.0.0 240.0.0.0 192.168.1.103 192.168.1.103 31
255.255.255.255 255.255.255.255 172.19.144.53 172.19.144.53 1
255.255.255.255 255.255.255.255 192.168.1.103 2 1
255.255.255.255 255.255.255.255 192.168.1.103 4 1
255.255.255.255 255.255.255.255 192.168.1.103 192.168.1.103 1
Default Gateway: 172.19.144.53
===========================================================================
Persistent Routes:
None
....and this is before I connect
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 a5 c2 b2 34 ...... Intel(R) PRO/100 VM Network Connection -
Packet Scheduler Miniport
0x3 ...00 c0 45 00 00 02 ...... VPN Client Virtual Adapter #2 - Packet
Scheduler Miniport
0x4 ...00 c0 45 00 00 01 ...... VPN Client Virtual Adapter - Packet
Scheduler Miniport
0x40006 ...00 08 02 f6 40 f1 ...... Compaq WLAN MultiPort W200 - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.103 192.168.1.103 30
192.168.1.103 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.1.255 255.255.255.255 192.168.1.103 192.168.1.103 30
224.0.0.0 240.0.0.0 192.168.1.103 192.168.1.103 30
255.255.255.255 255.255.255.255 192.168.1.103 2 1
255.255.255.255 255.255.255.255 192.168.1.103 3 1
255.255.255.255 255.255.255.255 192.168.1.103 4 1
255.255.255.255 255.255.255.255 192.168.1.103 192.168.1.103 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
None
What I wan't is a windows box in my network (192.168.1.103) that had a VPN
connection to my office and work as a second gateway for all traffic to
172.19.XX.
I have a couple of questions.
1. Can I run a post connect script to alter the routing table (the VPN
software keeps chaning it)
2. Do I need two network cards in the VPN gateway machine?
3 How do I route traffice from for instance 192.168.1.103 to 172.19.143.53
on the VPN machine ? Changing the routing table, bridging ?
Any help here would be great ?
Thanks,
Børge Nygaard Austvold
I've have setup a LAN home using a DSL Router and it works fine using
192.168.1.1 as default gateway. In this LAN I've added a machine and
installed a VPN client to connect to my office. The idea was that this
machine should work as a second gateway for traffice to work but the VPN
software modifies the routing table and forces the default gateway to the
VPN gateway.
This is the routing table after I connect
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 a5 c2 b2 34 ...... Intel(R) PRO/100 VM Network Connection -
Packet Scheduler Miniport
0x3 ...00 c0 45 00 00 02 ...... VPN Client Virtual Adapter #2 - Packet
Scheduler Miniport
0x4 ...00 c0 45 00 00 01 ...... VPN Client Virtual Adapter - Packet
Scheduler Miniport
0x40006 ...00 08 02 f6 40 f1 ...... Compaq WLAN MultiPort W200 - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.19.144.53 172.19.144.53 1
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 31
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.19.144.0 255.255.255.0 172.19.144.53 172.19.144.53 1
172.19.144.53 255.255.255.255 127.0.0.1 127.0.0.1 30
172.19.255.255 255.255.255.255 172.19.144.53 172.19.144.53 30
192.168.1.0 255.255.255.0 172.19.144.53 172.19.144.53 1
192.168.1.103 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.1.255 255.255.255.255 192.168.1.103 192.168.1.103 30
224.0.0.0 240.0.0.0 172.19.144.53 172.19.144.53 1
224.0.0.0 240.0.0.0 192.168.1.103 192.168.1.103 31
255.255.255.255 255.255.255.255 172.19.144.53 172.19.144.53 1
255.255.255.255 255.255.255.255 192.168.1.103 2 1
255.255.255.255 255.255.255.255 192.168.1.103 4 1
255.255.255.255 255.255.255.255 192.168.1.103 192.168.1.103 1
Default Gateway: 172.19.144.53
===========================================================================
Persistent Routes:
None
....and this is before I connect
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 a5 c2 b2 34 ...... Intel(R) PRO/100 VM Network Connection -
Packet Scheduler Miniport
0x3 ...00 c0 45 00 00 02 ...... VPN Client Virtual Adapter #2 - Packet
Scheduler Miniport
0x4 ...00 c0 45 00 00 01 ...... VPN Client Virtual Adapter - Packet
Scheduler Miniport
0x40006 ...00 08 02 f6 40 f1 ...... Compaq WLAN MultiPort W200 - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.103 192.168.1.103 30
192.168.1.103 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.1.255 255.255.255.255 192.168.1.103 192.168.1.103 30
224.0.0.0 240.0.0.0 192.168.1.103 192.168.1.103 30
255.255.255.255 255.255.255.255 192.168.1.103 2 1
255.255.255.255 255.255.255.255 192.168.1.103 3 1
255.255.255.255 255.255.255.255 192.168.1.103 4 1
255.255.255.255 255.255.255.255 192.168.1.103 192.168.1.103 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
None
What I wan't is a windows box in my network (192.168.1.103) that had a VPN
connection to my office and work as a second gateway for all traffic to
172.19.XX.
I have a couple of questions.
1. Can I run a post connect script to alter the routing table (the VPN
software keeps chaning it)
2. Do I need two network cards in the VPN gateway machine?
3 How do I route traffice from for instance 192.168.1.103 to 172.19.143.53
on the VPN machine ? Changing the routing table, bridging ?
Any help here would be great ?
Thanks,
Børge Nygaard Austvold