Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I setup a linux box (RH7.2) to do ip masquerading. Well, I created the file: /etc/sysconfig/ipchains using lokkit (with medium security option selected) and then added the following lines:
-A forward -i eth0 -s 192.168.0.2 -j MASQ
-A forward -i eth0 -s 192.168.0.3 -j MASQ
-M -S 7200 10 60
I have a machine on my private network which can access the internet through my linux box, however I am unable to use my VoIP (Voice over IP) telephone. Specifically, the VoIP phone is unable to register with the gatekeeper (this is some machine on the internet, and my phone needs to register with it before a call can be made). The phone works when I assign it a public IP address.
"ipchains -ML" gives me the following:
I don't know if it is possible. Masqerading is a kind of "cheating" the Internet about your ip adress. So I guess it won't work with a special module for masqerade. And I haven't heard of any...
A solution I see is to make tunelling (using for example ftp, which is masqeraded).
Since RedHat 7.2 installs a 2.4.x kernel by default and ipchains is an older 2.2.x kernel filter app, you could look into iptables for more functionality, since it's the predecessor to ipchains and is for the 2.4.x kernel. You could build policy that isn't masqu. and has alot better options which should allow you to communicate better with your VoIP's server. Just a possibility to throw out there...
Can you please clarify how "special module for masqerade" is related to my VoIP phone? [/B]
VoIP should be delivered directly to the mechine. But when there is masqerade, it gets to the server. The packets should be recognized and send into the local network. The same the other direction. Standard modules for masqerade do this with only few ports. Not those used by VoIP. With the special module it will work, of course.
I set up iptables . Also, I configured iptables to forward all packets coming from the gatekeeper to my VoIP phone. My VoIP phone is now able to login to the gatekeeper. However, I am still unable to make calls.
Note that the gatekeeper and gateway are installed on one single machine (my friend's machine, so I have access to it). So, I think that the packets meant for the VoIP phone will be originating from only one IP address, and my linux box should be forwarding all these packets to the VoIP phone. Any suggestions? Thanks all.