At 13:17 2/20/2002 +0200, Pieter De Wit wrote:
>Can I setup a firewall so that a client can connect to a service on a remote
>PC, but the firewall can't ?

Assuming ipchains, the rule might look like this:

firewall=10.0.0.1
ipchains --append input --protocol tcp --source $firewall \
  --destination sambabox.mydomain 137:139 --jump REJECT
ipchains --append input --protocol udp --source $firewall \
  --destination sambabox.mydomain 137:139 --jump REJECT
ipchains --append output --protocol tcp --destination $firewall \
  --source sambabox.mydomain 137:139 --jump REJECT
ipchains --append output --protocol udp --destination $firewall \
  --source sambabox.mydomain 137:139 --jump REJECT


Tony
-- 
Anthony E. Greene <[EMAIL PROTECTED]>
PGP Key: 0x6C94239D
AOL/Yahoo Chat: TonyG05
Linux. the choice of a GNU generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to