From Hentschel
Jump to: navigation, search

HM server networking

6 bytes removed, 07:35, 24 March 2017
# assign ip address to tun 0
<pre>
> ssh -NTCf -w0:0 root@198.57.xxx.xxx
# this blocks, need another terminal
> ip link set tun0 up> ip addr add 10.0.0.100/32 peer 10.0.0.200 dev tun0
</pre>
# add route to network B
<pre>
> ip link set tun0 up> ip addr add 10.0.0.200/32 peer 10.0.0.100 dev tun0> ip route add 192.168.1.0/24 via 10.0.0.200
</pre>