The configuration is used to allow internet access with nat and
incoming connections on a /29 net.

# make ftp service request reach the internet from the NATted LAN
map tx1 192.168.1.0/24 -> 1.2.3.6/32 proxy port ftp ftp/tcp
# provide internet access from the  NATted LAN
map tx1 192.168.1.0/24 -> 1.2.3.4/31 portmap tcp/udp 1025:65000
map tx1 192.168.1.0/24 -> 1.2.3.4/31
# let port 3000 requests from 192.168.2.0/24 reach server 192.168.1.1
on port 3000 in the NATted LAN
rdr tx1 from 192.168.2.0/24 to 1.2.3.3/32 port = 3000 -> 192.168.1.1
port 3000
# let port 6502 requests reach  internal PC 192.168.1.101 on port 3000
in the NATted LAN and the same for port 6502 to .102
rdr tx1 1.2.3.3/32 port 6502 -> 192.168.1.101 port 6502
rdr tx1 1.2.3.3/32 port 6503 -> 192.168.1.122 port 6503

Peter and Trevor, this is of any help?

Thanks,

Jac

Reply via email to