[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NAT & MASQ



Hello all.

I'm newbye to Linux firewalling, I come from FreeBSD.
Here is what I need.

                        Internet
                           |
                      212.58.123.30
                      -------------
                      | Linux     |
                      -------------
                      192.168.170.5
                           |
                           |
       -----------------------------------------
       Office net                               |
                                           MS SQL server at port 1433
                                           192.168.170.100
                                           --------------
                                           | MS SQL     |
                                           --------------


I would like my Linux box to redirect all packets received from
internet to 212.58.123.30:1433 to the MS SQL server
192.168.170.100:1433 and vice versa.

In short I would like MS SQL server to be visible to the Internet.

In FreeBSD I used NAT and everything was OK.
# natd -redirect_port tcp 192.168.170.100:1433 1433
and configure FreeBSD box like MS SQL servers gateway.

I'm running potato with 2.2.19 kernel.
How can I configure my box with IPCHAINS??

Thank you.
Nugzar




Reply to: