Solved

Need Redhat 5.2 IP Masquerade Help

Posted on 1998-12-06
4
359 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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