mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add a ttl for 6in4 tunnel
This commit is contained in:
parent
52b9ed37cf
commit
ebc63b30e4
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ while true; do
|
||||||
commit network
|
commit network
|
||||||
EOF
|
EOF
|
||||||
if [ -n "$(ip tunnel | grep omr6in4)" ]; then
|
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
|
else
|
||||||
ifup omr6in4 > /dev/null 2>&1
|
ifup omr6in4 > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue