Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PC-A at home behind a NAT router, and a PC-B at office also behind a NAT router. PC-B is setup as a PPTP server (with port-forwarding support from the router). PC-A is at subnet 192.168.1.0/24 and PC-B also at 192.168.1.0/24.

Currently, I can connect to PC-B from A via PPTP correctly. Connected, I can get access to every PC in the office outside PC-A's subnet, but everything inside gets routed to my LAN at home. In particular, as both routers are configured to listen at 192.168.1.1, I cannot use the office one as gateway even when connected via PPTP.

I'm afraid I can't get to change the IP of the gateway, but since PPTP is widely used to enable remote access, I believe there's a way to circumvent such a awkward IP conflict. (It should be something wrong with the routing table :(

This is what I get with route -n.

0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
10.127.0.0      0.0.0.0         255.255.0.0     U     2      0        0 wlan0
10.255.254.0    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
192.168.1.1     192.168.1.1     255.255.255.255 UGH   0      0        0 ppp0
192.168.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
(pub address of my PPTP server)   192.168.1.1     255.255.255.255 UGH   0      0        0 eth0
(pub address of my PPTP server)   192.168.1.1     255.255.255.255 UGH   0      0        0 eth0
share|improve this question
    
Why not reconfigure your home system to a different subnet? –  ernie Oct 11 '13 at 16:37

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.