2 .\" ----------------------------------------------------------------------------
3 .\" "THE BEER-WARE LICENSE" (Revision 42):
4 .\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 .\" can do whatever you want with this stuff. If we meet some day, and you think
6 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 .\" ----------------------------------------------------------------------------
16 .Nd implement ``nos'' or ``ka9q'' style IP over IP tunnel
32 utility is used to establish an
34 style tunnel, (also known as
43 is the name of the tunnel device
50 are the addresses used on the tunnel device.
51 If you configure the tunnel against a cisco router, use a netmask of
54 This is because the tunnel is a point-to-point interface
57 end, a concept cisco does not really implement.
61 Original KA9Q NOS uses 94 but many people use 4
62 on the worldwide backbone of ampr.org.
65 is the address of the remote tunnel device, this must match the source
66 address set on the remote end.
70 box on address 192.168.59.34:
71 .Bd -literal -offset indent
72 nos-tun -t /dev/tun0 -s 192.168.61.1 -d 192.168.61.2 192.168.56.45
75 Remote cisco on address 192.168.56.45:
76 .Bd -literal -offset indent
78 ip address 192.168.61.2 255.255.255.252
80 tunnel destination 192.168.59.34
81 tunnel source 192.168.56.45
85 .An Nickolay N. Dudorov Aq nnd@itfs.nsk.su
87 .An Poul-Henning Kamp Aq phk@FreeBSD.org
89 .An Isao SEKI Aq iseki@gongon.com
90 added a new flag, IP protocol number.
92 We do not allow for setting our source address for multihomed machines.