15 Jul 2012 13:48
How to add PPTP routes to alternate routing tables?
Greg Scott <GregScott <at> Infrasupport.com>
2012-07-15 11:48:45 GMT
2012-07-15 11:48:45 GMT
Hello - I have a Linux pptp server system running pptpd 1.3.4. The pptpd server has two Internet feeds and I have some ip rules and scripting to decide which feed to use, depending on the application and internal host. This all works as expected. I have one internal host at 192.168.15.30 giving me trouble. I am unable to access this host at all from any PPTP client. I can access any other host in the LAN behind the PPTP server, but not this specific host. And now I know why. Because I have this ip rule: ip rule add from 192.168.15.30 lookup att And routing table att looks like this: 1.2.98.112/29 dev eth2 scope link src 1.2.98.113 default via 1.2.98.118 dev eth2 That's the difference - none of the other hosts have an ip rule. Anything from this host uses my alternate routing table named att. That's the difference. And sure enough - if I get rid of my ip rule, now my host at .30 responds to my PPTP client. OK - so what does the main routing table show? Here is the relevant PPTP route that my problem host never sees:(Continue reading)
RSS Feed