Skip to content

Commit

Permalink
Revert "fix: ip route on linux"
Browse files Browse the repository at this point in the history
This reverts commit 7e4d451.
  • Loading branch information
nange committed Dec 8, 2023
1 parent b6550ef commit e9725c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/create_tun_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ 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 e9725c8

Please sign in to comment.