Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
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

2 Answers 2

up vote 0 down vote accepted

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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