![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| postfix configuration issues...specifically masquerading (lack of ) | mr_manny | Linux | 5 | 08-01-2007 11:14 AM |
| Sendmail Masquerading | shimpanzo | UNIX for Dummies Questions & Answers | 0 | 11-16-2006 06:25 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
IP Masquerading
Hello
I am trying to setup a nework using IP Masquerading. I followed the instructions/ steps as follows: 1. Appropriated a multi-homed box 2. I have installed Redhat Linux 8.0 on it (base install) 3. INetwork settings eth0 192.168.0.1 netmask 255.255.255.0 eth1 a static IP my ISP had provided. netmask 255.255.255.248 gateway: the one provided by my ISP. 4. ran the following commands # route add -net 192.168.0.1eth0 192.168.0.1eth0: hostname not found # route add -net <my.static.address>eth1 <my.static.address>eth1: hostname not found # route add default gw <my isp's gateway IP> # ipfwadm -F -m -a accept 192.168.0.0/16 -D 0.0.0.0/0 -bash: ipfwadm: command not found 5. I restarted the network 6. On my client (Windows 98), I configured the TCP/IP setting as IP: 192.168.0.2/ 255.255.255.0/ netamask: 192.168.0.1/ DNS Search order: provided my my ISP The problem is... I am able to ping both the 192 address and the externel IP address of the host (the box on which I have the IP Masquerading setup). I am also able to browse the network - within the same WORKGROUP. I am however not able to browse the external internet! I have setup my browser proxy setting to the IP of the host (eth0) on port 3128. Am I missing something? Please Advise! Thanks KS |
|
||||
|
It doesn't look like you have ipfwadm installed. Try iptables (www.netfilter.org). Is ip_forward turned on? What is the output you get when you do 'ifconfig -a'? Your Linux box should be the gateway for your Windows client.
|
|
|||||
|
Quote:
In your /etc/resolv.conf put the following Code:
domain www.yourdomain.com nameserver 10.0.0.1 nameserver 10.0.0.2 Where 10.0.0.1 is your primary DNS and 10.0.0.2 is your secondary. You get this info from your ISP. |
![]() |
| Bookmarks |
| Tags |
| linux commands, ping, ping port, port, port ping |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|