do a search for a product called gShield... its a firewall that does it, but thats not why you should go there... they have a perl script there that generates port forward IPTABLES rules.... very handy,, the name of the people that host the tools is godot, google is your friend.
you just dump it somewhere on your system, make it executable, and pass it the details, and it outputs the forward rule for you. its called: gforward.pl have fun.. rgds franki -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ian K.Harrell Sent: Friday, July 26, 2002 5:24 AM To: [EMAIL PROTECTED] Subject: [newbie] ip forwarding(?) with iptables...... Hello all, I currently have Mandrake 8.2 installed and configured to act as a masquerade gateway and firewall for a small network at our office. All the PCs on the ethernet are running windoz 98. I need to set up some type of port forwarding so that a connection can be made from the internet to the Mandrake firewall and then is redirected to one of the windoze machines. The specific machine has an ip addy of 192.168.0.101 and the mandrake machine is at 192.168.0.1. The Internet address is assigned dynamically on interface ppp0. The specific program that i need access to on the windows machine is the VNC server which i think listens on port 5500. What rules do i need to add to the firewall to do this? The current firewall was set up and configured with Interactive Bastille with the only ports being open to the internet interface being 80 for apache and ssh. My thoughts were that the easy way would be to have the mandrake firewall listen for connection attempts on the same port that VNC runs on and then have the firewall forward the connection attempt to the VNC server running on the windoze machine to handle authentication. Is this possible and what rule do i need to add to where (rc.firewall?) to accomplish this? Thanks much, Ian K. Harrell [EMAIL PROTECTED] Ian K. Harrell EMail: [EMAIL PROTECTED] Work: (336)789-9051 Home: (336)719-2972 Pager: (336)786-0395 Fax: (336)786-4853
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
