This is what I use;

For outbound connections;
$IPCHAINS -A input -p tcp -s $ALLADDR -d $EXTERNAL_NET 5631 -j ACCEPT -v
$IPCHAINS -A input -p udp -s $ALLADDR -d $EXTERNAL_NET 5631 -j ACCEPT -v
$IPCHAINS -A input -p tcp -s $ALLADDR -d $EXTERNAL_NET 5632 -j ACCEPT -v
$IPCHAINS -A input -p udp -s $ALLADDR -d $EXTERNAL_NET 5632 -j ACCEPT -v

For inbound connections;
$IPMASQADM autofw -A -v -r tcp 5631 5632 -h $PCA_HOST -u
$IPMASQADM autofw -A -v -r udp 5631 5632 -h $PCA_HOST -u

Where $ALLADDR is allowed from any address, $EXTERNAL_NET is your WAN
IP, and $PCA_HOST is the computer on your LAN with PC/Anywhere accepting
connections. Hope this helps. Works great for me both ways, and I can
use or not use PC/Anywhere's built in encryption, or if I choose,
another algorithm. It's built into PC/Anywhere to do this.



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

Reply via email to