Solved

nat on Linux

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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 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…

729 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