All pastes #226700 Raw Edit

Something

public text v1 · immutable
#226700 ·published 2006-10-28 19:55 UTC
rendered paste body
# pfctl -d -f /etc/pf.conf -e                                                                              
pf disabled
pf enabled
# pfctl -sn                                                                                                
nat on fxp0 inet from 192.168.0.3 to any -> 201.236.83.150
nat on fxp0 inet from 192.168.0.2 to any -> 201.236.83.148
nat on fxp0 inet from 192.168.0.4 to any -> 201.236.83.149
nat on fxp0 inet from <LAN> to any -> 201.236.83.150
rdr on fxp0 inet proto tcp from any to 201.236.83.146 port = domain -> 192.168.0.1
rdr on fxp0 inet proto udp from any to 201.236.83.146 port = domain -> 192.168.0.1
rdr on fxp0 inet proto tcp from any to 201.236.83.147 port = mysql -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.147 port = ftp -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.148 port = smtp -> 192.168.0.4
rdr on fxp0 inet proto tcp from any to 201.236.83.148 port = pop3 -> 192.168.0.4
rdr on fxp0 inet proto tcp from any to 201.236.83.149 port = www -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.150 port = 10022 -> 192.168.0.1 port 22
rdr on fxp0 inet proto tcp from any to 201.236.83.150 port = www -> 192.168.0.2
rdr on fxp0 inet proto tcp from any to 201.236.83.150 port 60000:65535 -> 192.168.0.3
rdr on vr0 inet proto tcp from <PROXY> to any port = www -> 127.0.0.1 port 3128
rdr on fxp0 inet proto tcp from any to 201.236.83.146 port = 50000 -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.147 port = 50000 -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.148 port = 50000 -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.149 port = 50000 -> 192.168.0.3
rdr on fxp0 inet proto tcp from any to 201.236.83.150 port = 50000 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.146 port = 7777 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.147 port = 7777 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.148 port = 7777 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.149 port = 7777 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.150 port = 7777 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.146 port = 7787 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.147 port = 7787 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.148 port = 7787 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.149 port = 7787 -> 192.168.0.3
rdr on fxp0 inet proto udp from any to 201.236.83.150 port = 7787 -> 192.168.0.3
# ifconfig                                                                                                 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
        groups: lo 
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:15:e9:ac:cb:ea
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::215:e9ff:feac:cbea%vr0 prefixlen 64 scopeid 0x1
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:02:a5:ed:0a:1f
        groups: egress 
        media: Ethernet autoselect (10baseT)
        status: active
        inet 201.236.83.146 netmask 0xffffff00 broadcast 201.236.83.255
        inet6 fe80::202:a5ff:feed:a1f%fxp0 prefixlen 64 scopeid 0x2
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
pfsync0: flags=0<> mtu 1460
enc0: flags=0<> mtu 1536
# Connection to 201.236.83.150 closed by remote host.
Connection to 201.236.83.150 closed.