Solved

nat on Linux

Posted on 2000-05-15
4
234 Views
Last Modified: 2008-02-26
Hi !
I`m trying to use ipnatadm, in order to translate addresses on Linux. But when I type :
ipnatadm -O -i -S 192.168.0.57/32 -M 200.241.244.1/32

I receive the following error : setsockopt failed:protocol not available.

Do you know why it happens ?
Thanks !
0
Comment
Question by:ptenuta
4 Comments
 

Accepted Solution

by:
Debber earned 100 total points
ID: 2811223
Download and install the ip-masquerading and ipchains modules, enable ip-forwarding and insert ipchains-rules into rc.firewall I'd recommend Robert Ziegler's site (and book "Linux Firewalls", New Riders) More info on: http://linux-firewall-tools.com/linux/ Succes!

0
 

Expert Comment

by:aramo
ID: 2812856
1st excellent ref to linux-firewall-tools by Debber - thank you. It even includes cook-book scriptes if you need them.

IPCHAINS-Howto & IP-Masquerading covers the topic well - as setup depends on kernel I suggest you read the Howtos or post more info.

0
 

Expert Comment

by:Gnomus
ID: 2816451
check kernel for masquerading support
0
 

Author Comment

by:ptenuta
ID: 2816894
I´ve made it with ipchains . Thank you very much !
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

759 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now