...
To configure a VPN bridge,
This interface and the interface on the remote Linux system must be in the same IP subnet. Click on OK to save your configuration. |
...
2. In the Charon Manager, select the guest system and then the Ethernet configuration category on the left. Assign one of the created TAP interfaces to the guest (see example below):.
Click on OK to save the configuration change.
...
Action | Command |
---|---|
Create TAP interface. | # ip tuntap add dev tap0 mod tap |
Enable TAP interface. | # ip link set tap0 up |
Create bridge. | # ip link add name br_vpn0 type bridge |
Enable bridge interface. | # ip link set br_vpn0 up |
Define IP address for bridge. | # ip addr add 192.168.0.1/24 dev br_vpn0 |
Add TAP interface to bridge. | # ip link set tap0 master br_vpn0 |
Start the SSH tunnel. autossh is a program to start a copy of ssh and monitor it, restarting it Once started, you can move the program to the background. |
-i denotes the path to the private key matching the public key copied to the host system. |
...
Action | Command |
---|---|
Terminate the autossh process. | # kill -9 <autossh-pid> |
Terminate remaining SSH tunnel connections. | # kill -9 <tunnel-ssh-pid> |
Delete the bridge. | # ip link delete br_vpn0 |
Delete the TAP interface. | # ip link delete tap0 |
Routing to/from Solaris Guest
...