mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Add a ttl for 6in4 tunnel
This commit is contained in:
parent
af535aa74b
commit
ebb7e19cfb
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ while true; do
|
|||
commit network
|
||||
EOF
|
||||
if [ -n "$(ip tunnel | grep omr6in4)" ]; then
|
||||
ip tunnel change "6in4-omr6in4" mode sit local ${addr} remote ${peer} > /dev/null 2>&1
|
||||
ip tunnel change "6in4-omr6in4" mode sit local ${addr} remote ${peer} ttl 64 > /dev/null 2>&1
|
||||
else
|
||||
ifup omr6in4 > /dev/null 2>&1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue