I wish it were so.
This is the internal log from tcpdump:
14:54:51.828301 192.168.0.47.9000 > 207.46.204.86.9001: udp 20

Send from 192.168.0.47 port 9000 to 207.46.204.86 port 9001

This is the external log from tcpdump:
14:54:58.157646 207.46.204.86.9001 > c211-30-25-221.mirnd1.nsw.optusnet.com.au.10002: udp 484
14:54:58.157712 c211-30-25-221.mirnd1.nsw.optusnet.com.au > 207.46.204.86: icmp: c211-30-25-221.mirnd1.nsw.optusnet.com.au udp port 10002 unreachable


Paul Armstrong helped me set up some rules which are working from internal pc -> freebsd server and it works from freebsd server -> microsoft and it works from microsoft -> freebsd server but the freebsd server is saying 'that port i made up before is unreachable'

I even tried hashing out udp and icmp unreachables:
# Return errors for icmp and udp
#
#block return-icmp-as-dest(port-unr) in log on rl1 proto udp all
#block return-icmp-as-dest(port-unr) in log on rl1 proto icmp all

That didn't help.

Rules I now have:

# Asheron's Call ports
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9000 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9000 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9001 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9001 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9004 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9004 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9005 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9005 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9008 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9008 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9009 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9009 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9012 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9012 keep state
pass in quick on rl0 proto udp from 192.168.0.47/32 to any port = 9013 keep state
pass in quick on rl1 proto udp from 0/0 to 192.168.0.47/32 port = 9013 keep state


# Asheron's call
rdr rl1 0/0 port 9000 -> 192.168.0.47 port 9000 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9001 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9004 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9005 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9008 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9009 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9012 udp
rdr rl1 0/0 port 9001 -> 192.168.0.47 port 9013 udp
map rl1 192.168.0.47/32 -> 0/32 portmap tcp/udp 10000:30000
map rl1 192.168.0.47/32 -> 0/32

As Microsoft says it needs these ports set up:
http://support.microsoft.com/default.aspx?scid=kb;en-us;q236430


At 10:51 AM 21/10/2003 +0800, forge wrote:
I don't know if I exactly understand your mean,
but in general cases, only outgoing packets need be mapped,
and the incoming packets will be changed to original addr and port
automatically.

Regards,


Jason.

--------------------------
Jason Oakley +612 82821434
  Open and Intel Systems
  Systems Administrator
   http://www.eds.com

Add a dab of lavender to milk
Leave town with an orange
and pretend you are laughing at it




Reply via email to