Does
the server need to receive some kind of feedback, like an "I'm ready to receive"
packet? it appears as though this would be blocked, thus the transfer
would never start. I can guess at how to fix in ipchains, but I don't know
anything about ipfwadm. Maybe allowing outgoing packets to the stream
server, or better yet, allowing all outgoing packets on the port and only
accpepting requested responses on the receive side. Would look something
like this in ipchains:
# Set
for streaming
#Allow
output for initiating stream
ipchains -A output -i eth[x] -p tcp -s <local IP>
2000:2001 -d 0.0.0.0/0 2000:2001 -j ACCEPT
#Accept stream response to initial request
ipchains -A input -i eth[x] -p tcp -y ! -s 0.0.0.0/0 2000:2001 -d
<local IP> 2000:2001 -j ACCEPT
#Do
not allow any random connection that was not initiated from
here
ipchains -A input -i eth[x] -p tcp -s 0.0.0.0/0 2000:2001 -d
<local IP> 2000:2001 -j DENY
I
forget the rules as to what order you have to accept and deny, so the deny line
may be above the accept lines. Check the docs on that
one.
Drew
|
- ipfwadm syntax Terry Williams
- RE: ipfwadm syntax Drew Hunt
- RE: ipfwadm syntax Charles Galpin