Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP forwarding and NAT #11

Open
noraj opened this issue Sep 5, 2019 · 0 comments
Open

IP forwarding and NAT #11

noraj opened this issue Sep 5, 2019 · 0 comments

Comments

@noraj
Copy link

noraj commented Sep 5, 2019

On the pivot don't forget to enable ip forwarding

$ sudo sysctl net.ipv4.conf.default.forwarding=1

Or maybe enabling NAT

$ sudo iptables -t nat -A POSTROUTING -s 10.0.0.1 -o eth1 -j MASQUERADE

I'm not sure VPN pivot does it for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant