Created
February 6, 2013 00:40
-
-
Save davidpelaez/4719190 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
davidpelaez: https://gist.github.com/davidpelaez/4719163 | |
[7:36pm] LetoTo: thats wrong | |
[7:36pm] LetoTo: net.ipv4.ip_forward = 1 | |
[7:36pm] LetoTo: net.ipv4.conf.default.rp_filter = 0 | |
[7:37pm] LetoTo: also add | |
[7:37pm] LetoTo: net.ipv4.conf.all.send_redirects = 0 | |
[7:37pm] LetoTo: net.ipv4.conf.default.send_redirects = 0 | |
[7:37pm] LetoTo: then run sysctl -p | |
[7:37pm] davidpelaez: ok | |
[7:37pm] davidpelaez: one sec | |
[7:38pm] LetoTo: then run: for i in /proc/sys/net/ipv4/conf/*; do echo 0 > $i/rp_filter; done | |
[7:39pm] davidpelaez: ok, I already run sysctl -p | |
[7:39pm] LetoTo: and for safetey: iptables -t nat -I POSTROUTING -s 10.3.0.9 -d 172.19.200.15 -j RETURN | |
[7:39pm] davidpelaez: done | |
[7:39pm] LetoTo: you still need to run the for line | |
[7:39pm] LetoTo: sysctl -p does not take effect for all interfaces after the are created | |
[7:39pm] LetoTo: (alternative is to reboot) | |
[7:40pm] davidpelaez: I run the three commands | |
[7:40pm] davidpelaez: should I reboot or the commands you have include the recreation? | |
[7:40pm] LetoTo: then try your tunnel again | |
[7:40pm] LetoTo: commands i have are fine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment