iptables command for changing TTL

2 posts / 0 new
Last post
Tate
Tate's picture
iptables command for changing TTL

I am trying to use iptable to change outbound WAN TTL to 65 and can't get it to work.  Here is the command I am placing in the firewall.

 

iptables -t mangle -A POSTROUTING -o eth0 -j TTL --ttl-set 65

 

I've tried other ports as well, doesn't seem to change anything.

 

Tate
Tate's picture
Problem solved, I removed the

Problem solved, I removed the -o -eth0

iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65