LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-10-2002, 10:21 AM   #1
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
How do I setup ip masquerade in suse 8


I am using suse firewall 2. Dhcpd is working but my internal network has no access to the internet. I have enabled this on the Yast2 -- > security --> Firewall but it does not seem to work. Also when I boot Suse, I see the line saying ipforwarding disabled. Thanks for any help.
 
Old 11-10-2002, 11:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
try reading this one

http://www.linuxquestions.org/questi...829#post166829
 
Old 11-10-2002, 12:48 PM   #3
turnip
Member
 
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
the command

echo 1 > /proc/sys/net/ipv4/ip_forward will turn on ip forwarding
then you need something like

iptables -t nat -A POSTROUTING -i <interface> -s <source network/mask> -j MASQUERADE , that will just get you on the net,
you're gonna need some blocking rules too

so maybe

iptables -A INPUT -s <mynetwork/24> -j ACCEPT
then
iptables -P INPUT DROP
 
Old 11-10-2002, 09:14 PM   #4
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
where do I put this? Thanks
 
Old 11-13-2002, 03:34 PM   #5
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
Success !!
I did not have named running. When I enabled it as well as dynamic IP patch and ip forwarding, the SuseFirewall2 allowed IP masquerading. Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Masquerade nanoprobe Linux - Networking 7 06-12-2005 08:48 AM
[SUSE 9.1 PROF] How can I copy the setup files to my harddisk and start the setup? TheRealFalcon Linux - Distributions 1 08-07-2004 11:49 PM
IP Masquerade qbik Slackware 3 09-11-2003 03:02 PM
IP Masquerade help armcfall Linux - Networking 6 06-24-2003 09:06 AM
RedHat 7.1 iptables masquerade setup sromej Linux - Networking 1 07-13-2001 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration