Advertisement
Skylinestar

firewall ttl wan is eth2

Jan 9th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. # This file is interpreted as shell script.
  2. # Put your custom iptables rules here, they will
  3. # be executed with each firewall (re-)start.
  4.  
  5. # Internal uci firewall chains are flushed and recreated on reload, so
  6. # put custom rules into the root chains e.g. INPUT or FORWARD or into the
  7. # special user chains, e.g. input_wan_rule or postrouting_lan_rule.
  8. #startTTL
  9. iptables -t mangle -I POSTROUTING -o eth2 -j TTL --ttl-set 65
  10. iptables -t mangle -I PREROUTING -i eth2 -j TTL --ttl-set 65
  11. #endTTL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement