-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
/etc/ssh/sshd_config: PermitTunnel yes OR ethernet (MANDATORY)
systemctl restart sshd
/etc/ssh/ssh_config: Tunnel ethernet (PROBABLY NOT MANDATORY)
ssh root@minipc01 "modprobe tun"
ssh root@minipc02 "modprobe tun"
ssh -o "Tunnel ethernet" -f -w 1:1 root@minipc02 "true"
ssh root@minipc01 "ip link set dev tap1 up"
ssh root@minipc01 "ip addr flush dev tap1"
ssh root@minipc01 "ip addr add 172.16.1.1/24 dev tap1"
ssh root@minipc02 "ip link set dev tap1 up"
ssh root@minipc02 "ip addr flush dev tap1"
ssh root@minipc02 "ip addr add 172.16.1.2/24 dev tap1"
it works.
Metadata
Metadata
Assignees
Labels
No labels