LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-06-2006, 03:37 PM   #1
Sayon_6
LQ Newbie
 
Registered: May 2006
Posts: 14

Rep: Reputation: 0
HOW do you set up named in FC3


I want to browse the web also by not using a proxy. How do I set up my FC 3 server to enable me to do that ???
 
Old 08-06-2006, 03:52 PM   #2
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
what is the problem and what do you want? Be more specific don'w understand what's the problem.
 
Old 08-06-2006, 04:00 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Sayon

Be aware that support for FC3 will be dropped when fc6 is released (oct?)

How are you hooked to the internet? Be specific. What platform?

lazlow
 
Old 08-08-2006, 10:34 AM   #4
Sayon_6
LQ Newbie
 
Registered: May 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Like i said , all i want is to browse the internet w/o using a proxy.

This is my setup:

FC 3 Server (maybe I will move to FC 4 soon who knows but not now)
here i have:
ppp0 - on usb interface
eth0 - local LAN (several users connected to a switch)
eth1 - local lan (my own XP)

this is what I have in my iptables atm:
*nat
:PREROUTING ACCEPT [128822:8400558]
:POSTROUTING ACCEPT [42086:3038546]
:OUTPUT ACCEPT [36227:2730304]

-A POSTROUTING -s 192.168.0.0/24 -p tcp -m tcp -o ppp0 -j MASQUERADE
-A POSTROUTING -s 192.168.10.0/24 -p tcp -m tcp -o ppp0 -j MASQUERADE
-A POSTROUTING -s 192.168.10.0/24 -p tcp -m tcp -o ppp0 -j SNAT --to 86.xx.xx.xxx
COMMIT
# Completed on Thu Oct 4 19:18:03 2001
# Generated by iptables-save v1.2.1a on Thu Oct 4 19:18:03 2001
*mangle
:PREROUTING ACCEPT [7586906:2886668277]
:OUTPUT ACCEPT [5512364:1755032065]
COMMIT
# Completed on Thu Oct 4 19:18:03 2001
# Generated by iptables-save v1.2.1a on Thu Oct 4 19:18:03 2001
*filter
:INPUT ACCEPT [4775417:1008247829]
:FORWARD ACCEPT [1035372:55113614]
:OUTPUT ACCEPT [5532840:1762750529]
######Input chain#####
#ntp
-A OUTPUT -p udp --sport 123 --dport 123 -j ACCEPT

#named
-A INPUT -d 0/0 -s 0/0 -i eth0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -d 0/0 -s 0/0 -i eth0 -p udp -m udp --sport 53 -j ACCEPT

any idea what is wrong here ?
 
Old 08-08-2006, 04:22 PM   #5
Sayon_6
LQ Newbie
 
Registered: May 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Found It!!!

Yes i found what it was
It looks like in the #named section in my iptables
Quote:
#named
-A INPUT -d 0/0 -s 0/0 -i eth0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -d 0/0 -s 0/0 -i eth0 -p udp -m udp --sport 53 -j ACCEPT
there is no INPUT for my eth1.

But i still have not gotten the whole solution. I play online games that require so many ports opened i know there is a way of doing this by just adding for example :

Quote:
-A POSTROUTING -p tcp -s 0/0 --dport 2106 -o ppp0 -j SNAT --to 86.xx.xxx.xxx
but what is the correct way to do POSTROUTING to allow ALL tcp and udp ports and NAT-ing them to my 86.xx.xxx.xxx ?
 
  


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
Set up dummy soundcard on fc3 linuxnwb Linux - Hardware 4 06-18-2006 09:09 AM
How do I set up a network between FC3 and XP? todd93 Linux - Networking 23 03-20-2005 01:23 AM
Install FC3 -> no /dev/cdrom set up dubya Fedora 14 11-18-2004 05:39 PM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 12:49 PM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 05:27 PM

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

All times are GMT -5. The time now is 12:59 PM.

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