Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Here are some tweaks to try:
  2.  
  3. # Assuming that tun1 is the IPv4-in-IPv6 client, and eth0 is the AFTR's
  4. # Internet connection:
  5. $ iptables -A FORWARD -i tun1 -o eth0 -s 172.0.0.0/24 -m
  6. conntrack --ctstate NEW -j ACCEPT
  7.  
  8. $ iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
  9.  
  10. # Again, assuming eth0 is the AFTR's Internet connection
  11. $ iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement