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?

  • 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 '10 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. – Mircea Vutcovici Nov 28 '10 at 4:42
  • @gravyface, that's my problem serverfault.com/questions/203324/… – larry Nov 28 '10 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 '11 at 5:29
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.

|improve this answer|||||
2

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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.