For simplicity let's assume the following set up:

2 machines on the same subnet:

Machine-A (mint-17):

- Has Open-VPN connection which allows it access to private website W1
- Has ip-forwarding enabled

Machine-B (mint-18):

- Has all traffic routed through Machine-A

On machine-B, I can browse the web, etc. However I cannot access website W1.

Not sure what I need to do so that Machine-B would also have access website W1.


on machine A:

iptables -A POSTROUTING -t nat -j MASQUERADE
  • Thank you - Iooks like I need to study iptables once I try it out, I'll mark your answer! – hba Nov 2 '16 at 15:36

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.