docker-l2tp-client/route.sh

5 lines
104 B
Bash
Raw Permalink Normal View History

2019-11-25 16:06:57 +00:00
#!/bin/bash
ip route change default via 172.31.1.2
ip route add 192.168.1.0/24 via 172.31.1.1 dev eth0