Solved

nat on Linux

Posted on 2000-05-15
4
235 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 62
AWS RDS 3 64
SSH connect to Amazon Centos Instance 7 38
AWS EC2 PHP code is not being executed code shows on the page instead 8 65
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

948 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

21 Experts available now in Live!

Get 1:1 Help Now