LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2009, 09:39 AM   #1
mjhvg
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
network card & masquerading


Does masquerading really require two network cards? I am trying to set up dns tunneling, and I can not see for the life of my why the bogus dns server would necessitate two NICs.

Thanks
 
Old 03-13-2009, 04:46 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
Masquerading (mostly) is using in POSTROUTING chain when a packet just before going out of an interface
gets its contents changed. So I guess it is fairly ok to assume you need two network addresses for
MASQ to work (not necessarily two cards - a single network card with 2 network ip addresses will also suffice)
 
Old 03-13-2009, 04:59 AM   #3
mjhvg
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Well I am trying to set up dns tunneling, so I need the web page requests from the client to be resolved and returned by the proxy, and I think that there is something wrong with my iptables entry that isn't allowing this to happen. Do you know anything about this?
 
Old 03-13-2009, 11:18 AM   #4
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
why not use dns proxy ?
http://sourceforge.net/projects/dproxy/
 
Old 03-13-2009, 11:39 AM   #5
mjhvg
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I am already using editdns for a nameserver, I need to set up a "fake" name server, a proxy, so I don't think that dproxy is really what I need.
 
  


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
Sagem 800, routing & masquerading mikemrh9 Linux - Networking 1 03-05-2005 01:01 PM
AT&T Plug & Share Wireless Network Card help nitzer_slack Linux - Hardware 8 07-05-2004 12:07 AM
Can't find the sub-network using IP Masquerading Milkman00 Linux - Networking 7 03-06-2004 05:50 PM
Masquerading & Firewall problems.. ugenn Linux - Networking 2 09-07-2003 01:31 PM
iptables & Masquerading errors vk1985 Linux - Networking 2 03-16-2003 10:06 PM

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

All times are GMT -5. The time now is 09:49 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