Use routers to create packets with specific source IP address
August 21st, 2014
I have setup many VPN connections. There is 1 problem that I deal with a lot is the traffic from the other side of the VPN. Usually I have to wait for the other companies to send their traffic through the VPN. It sometime hard to tell where the problem is.
I found a way to use a router to send out packets , pretending it’s the other side of the VPN leg
To do this, first I need to replace the VPN appliance with the router and create a loopback interface
1 2 |
interface Loopback300 ip address 172.69.24.12 255.255.255.255 |
Where 172.69.24.12 is the source of the packets
Then run the following commands
1 |
telnet 172.16.111.50 443 /source-interface loopback300 |
Where 172.16.111.50 443 is the destination address and port on my network.
Now I can test and confirm my own VPN leg without waiting for other parties.
Categories: Networking