:man| Alphabetical   Categories   About us 
NOS-TUN (8) | System administration commands and daemons | Unix Manual Pages | :man


nos-tun - implement ‘‘nos’’ or ‘‘ka9q’’ style IP over IP tunnel




nos-tun -t tunnel -s source -d destination -p protocol_number [source] target


The nos-tun utility is used to establish an nos style tunnel, (also known as ka9q or IP-IP tunnel) using a tun(4) kernel interface.

Tunnel is the name of the tunnel device /dev/tun0 for example.

Source and destination are the addresses used on the tunnel device. If you configure the tunnel against a cisco router, use a netmask of "" on the cisco. This is because the tunnel is a point-to-point interface in the
.Fx end, a concept cisco does not really implement.

Protocol number sets tunnel mode. Original KA9Q NOS uses 94 but many people use 4 on the worldwide backbone of ampr.org.

Target is the address of the remote tunnel device, this must match the source address set on the remote end.


This end, a
.Fx box on address
nos-tun -t /dev/tun0 -s -d

Remote cisco on address
interface tunnel 0
ip address
tunnel mode nos
tunnel destination
tunnel source


.An -nosplit
.An Nickolay N. Dudorov Aq
nnd@itfs.nsk.su wrote the program,
.An Poul-Henning Kamp Aq phk@FreeBSD.org wrote the man-page.
.An Isao SEKI Aq iseki@gongon.com added a new flag, IP protocol number.


We do not allow for setting our source address for multihomed machines.

April 11, 1998 NOS-TUN (8)
shtml">manServer 1.07 from nos-tun.8 using doc macros.

Share this page

     Follow us

Facebook Twitter Google+ LinkedIn

Created by Blin Media, 2008-2013