ipf.rules
#
# Para demo PTA en Sybase
#
pass out quick on xl2 proto tcp from any to 192.168.20.248 port = 5000 flags S keep state
pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 5000 flags S keep state
pass out quick on xl2 proto tcp from any to 192.168.20.248 port = 5623 flags S keep state
pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 5623 flags S keep state
pass out quick on xl2 proto tcp from any to 192.168.20.248 port = 5630 flags S keep state
pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 5630 flags S keep state
pass out quick on xl2 proto tcp from any to 192.168.20.248 port = 6000 flags S keep state
pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 6000 flags S keep state
pass out quick on xl2 proto tcp from any to 192.168.20.248 port = 10000 flags S keep state
pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 10000 flags S keep state
pass in quick on xl2 proto tcp from 192.168.20.248 port = 80 to any flags S keep state
pass out quick on xl0 proto tcp from 192.168.20.248 port = 80 to any flags S keep state
pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 6100 flags S keep state
pass out quick on xl2 proto tcp from 192.168.20.248 port = 6100 to any flags S keep state
#pass in quick on xl0 proto tcp from any to 192.168.20.248 port = 60000 flags S keep state
pass out quick on xl2 proto tcp from 192.168.20.248 port = 60000 to any flags S keep state
#
#Para hosting pta en sybase
#
pass out quick on x12 proto tcp from any to 192.168.20.247 port = 5000 flags S keep state
pass in quick on x10 proto tcp from any to 192.168.20.247 port = 5000 flags S keep state
pass out quick on x12 proto tcp from any to 192.168.20.247 port = 10000 flags S keep state
pass in quick on x10 proto tcp from any to 192.168.20.247 port = 10000 flags S keep state
pass out quick on x10 proto tcp from 192.168.20.247 port = 80 to any flags S keep state
pass in quick on x12 proto tcp from 192.168.29.247 port = 80 to any flags S keep state
pass in quick on x10 proto tcp from any to 192.168.20.247 port = 60000 flags S keep state
pass out quick on x12 proto tcp from 192.168.20.247 port = 60000 to any flags S keep state
ifnat.rules
#demo
bimap xl0 192.168.20.248/32 -> 200.69.203.100/32
bimap xl0 200.69.203.100/32 -> 192.168.20.248/32
#hosting
bimap xl0 192.168.20.247/32 -> 200.69.203.102/32
bimap xl0 200.69.203.102/32 -> 192.168.20.247/32
*** este es el server que no se ve desde afuera