Skip to content

Commit

Permalink
fix: ip route on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nange committed Oct 9, 2023
1 parent a17a8c9 commit 7e4d451
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/create_tun_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ ip link set dev "$tun_device" up

ip route add "$server_ip" via "$local_gateway" dev "$local_device"
ip route add default via "$tun_gw" dev "$tun_device" metric 1
ip route add "$local_gateway" via "$tun_gw" dev "$tun_device"

0 comments on commit 7e4d451

Please sign in to comment.