LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   direct connection through the firewall (https://www.linuxquestions.org/questions/linux-security-4/direct-connection-through-the-firewall-78675/)

cam99 08-03-2003 05:34 PM

direct connection through the firewall
 
I have set up a firewall using the Masquerade Howto with the Stronger Firewall rule set.
And this works fine.

I now have a need to connect to a server through the firewall and don't seen to be able to do it

HELP

Here is the ASCI art

Workstations | Firewall | server ADSL router
192.168.1.9 |192.168.1.1 | 192.168.1.13 serves DHCP
192.168.1.11 | to my |3 other workstations
192.168.1.12 | segment |
192.168.1.250 | DHCP to ADSL|

Yes the ADSL doesn't have a firewall of any kind. I share a connection with somewone else who isn't a big believer in firewalls so doesn't use one.

My problem is forming a connection to 192.168.1.13 while staying safe.
I have tried these, at the file wall logged in as SU
# iptables -t nat -A INPUT -s 192.168.1.13 -j ACCEPT

and
# iptables -s 192.168.1.13

Neither of which worked, still unable to ping the server?

Any suggestions, all the how to's seem to deal with hardening the Firewall and I want to soften it is suppose.

Thanks

PS I have read Rusty Russels how to on IPtables but dont seem to be able to get what I want to work?

cam99 08-03-2003 05:35 PM

Doesn't look like the ASCII art turned out to well


All times are GMT -5. The time now is 02:01 AM.