0

I hava one pptp gateway(192.168.1.1), and one pptp linux client(192.168.1.2), and one pptp windows

client(192.168.1.3), When gateway receives response packets of 192.168.1.3 , can i forward these

packets to 192.168.1.2?

4
  • 1
    What you're describing is not really routing if they're all on the same subnet. Can I ask what you're trying to accomplish? There's (likely) a different/better way to achieve what you're trying to do.
    – gravyface
    Nov 28, 2010 at 3:09
  • If the IPs have the same 192.168.1.0/24 prefix does not always mean they are in the same VLAN. You can have PPP interfaces with /32 prefixes. Nov 28, 2010 at 4:42
  • @gravyface, that's my problem serverfault.com/questions/203324/…
    – larry
    Nov 28, 2010 at 7:04
  • gravyface: it is still be routing due to all packets would go over point-to-point channel in despite of what net mask assigned to peers.
    – poige
    Feb 1, 2011 at 5:29

2 Answers 2

0

It should be an option in the PPTP server to allow the clients to inter-communicate. I suggest to use a better/secure VPN solution like OpenVPN, etc.

2

You can't but your router could. :-) Just be sure to enable it doing so: sysctl -w net.ipv4.ip_forward=1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .