Solved

Need Redhat 5.2 IP Masquerade Help

Posted on 1998-12-06
4
364 Views
Last Modified: 2013-12-15
I am trying to setup Ip Masquerading, I have followed the instructions in several how too's. My server is connected via a dial up. I have a static ip address and a domain name for this. I have been sucessful in setting up email on the work stations they can send an receive mail fine. I can telnet from a workstation to the server ok, from there I can telnet to the outside world. I just can not get the browers to see anything from the workstations.

Gill Blue
http:\\kb4fsk.com (redhat 5.2) system
0
Comment
Question by:gblue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:vx
ID: 1631820
What are your masquerading rules? Did you add any? Telnetting to your server doesn't involve masquerading.  
0
 

Accepted Solution

by:
woodson earned 50 total points
ID: 1631821
type these lines in from console or to have it done for you when you boot put these lines in a startup script

ipfwadm -F -p deny
ipfwadm -F -a m -P TCP -S192.168.1.0/24 -D0.0.0.0/0
ipfwadm -F -a m -P UDP -S192.168.1.0/24 -D0.0.0.0/0

192.168.1.0 is your network address. What I have here will masq to all machines that have ip's of 192.168.1.* as their ip address. Make each client machine's ip something like
192.168.1.2 etc
0
 

Author Comment

by:gblue
ID: 1631822
Thanks for the reply, Here's what I got so far, I was using 10.0.0.1 as my local ip address, I changed my eth0 address to 192.168.0.1

Now I tried your suggestion
ipfwadm -F -p deny Works, I get no errors

When I type ipfwadm -F -a m -P TCP -S192.168.1.0/24 -D0.0.0.0/0
I get the following error:  invalid protocol 'TCP' specified.

any suggestions ?

Gill
 
 
0
 

Expert Comment

by:woodson
ID: 1631823
gblue you have to set your linux machine to 192.168.1.*  the star
can be any number. You say that you have setup with 192.168.0.1 this will put the machine onto a different network address from the machines so make that change of course you dont have to if you keep all machines on the same network :). The next thing to do is to make the TCP and UDP tcp and udp. Put the info i gave you into
/etc/rc.d/rc.local  and make sure ipv4 is running also. Your client machines should use the linux server ip as their gateway and their ip address should be 192.168.1.*
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question