1# 2# Configuration file for natd. 3# 4# 5# Logging to /var/log 6# 7log no 8# 9# Incoming connections. 10# 11deny_incoming no 12# 13# Use sockets to avoid port clashes. 14# 15use_sockets no 16# 17# Avoid port changes if possible. Makes rlogin work 18# in most cases. 19# 20same_port yes 21# 22# Verbose mode. Enables dumping of packets and disables 23# forking to background. 24# 25verbose no 26# 27# Divert port. Can be a name in /etc/services or numeric value. 28# 29port 32000 30# 31# Interface name or address being aliased. Either one, 32# not both is required. 33# 34# alias_address 192.168.0.1 35interface ep0 36# 37# Alias unregistered addresses or all addresses. 38# 39unregistered_only no 40# 41# Configure permanent links. If you use host names instead 42# of addresses here, be sure that name server works BEFORE 43# natd is up - this is usually not the case. So either use 44# numeric addresses or hosts that are in /etc/hosts. 45# 46# Map connections coming to port 30000 to telnet in my_private_host. 47# Remember to allow the connection /etc/rc.firewall also. 48#permanent_link tcp my_private_host:telnet 0.0.0.0:0 30000 49# 50# Map connections coming from host.xyz.com to port 30001 to 51# telnet in another_host. 52#permanent_link tcp another_host:telnet host.xyz.com:0 30001 53