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 01-06-2008, 01:00 PM   #1
lurkinbf
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
Possible to Create Anonymous Router?


Hello, all.

I used to administer an Ubuntu box for a wiki and several web sites, but I have not even looked at it for well over a year. The rust has accumulated, and a finger pointing in the right direction would be appreciated.

I have a fully functional Ubuntu server box sitting in my basement, and I'd like to know if the following would be possible with it:

1) Use it as a router to distribute an Internet signal to my internal LAN (via a switch, I guess);

2) Have all Internet traffic anonymized for all services so the IP address obtained from my ISP would be masked.

I haven't found any suitable solutions as yet. My bandwidth is restricted, so something like a TOR server would not be suitable (although a TOR implementation of some kind may be). Any help appreciated. Thanks.
 
Old 01-06-2008, 01:34 PM   #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
ok well 1) is just enabling ip forwarding (echo 1> /proc/sys/net/ipv4/ip_forward) and also probably external masquerading. as for 2)... wassat? your isp gives you an ip for a reason... how do you expect to use the internet with a faked ip address??
 
Old 01-06-2008, 02:09 PM   #3
lurkinbf
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
ok well 1) is just enabling ip forwarding (echo 1> /proc/sys/net/ipv4/ip_forward) and also probably external masquerading. as for 2)... wassat? your isp gives you an ip for a reason... how do you expect to use the internet with a faked ip address??
Um, so the sites you visit don't have access to your real IP address? Pretty common request, surely you've heard of it before...you know, for anonymity?
 
Old 01-06-2008, 02:37 PM   #4
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
no, that's not possible. when you leave a LAN for an internet destination, then the IP must be changed to a publically routable IP in order for the traffic to get back. the IP you use *must* be globally routable back to the internet device it left from. it must be your IP address. maybe you mean something like stripping x-forwarded-for headers from proxy requests?? maybe the clue is in your use of the word "real"?

Last edited by acid_kewpie; 01-06-2008 at 02:39 PM.
 
Old 01-06-2008, 03:47 PM   #5
lurkinbf
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
no, that's not possible. when you leave a LAN for an internet destination, then the IP must be changed to a publically routable IP in order for the traffic to get back. the IP you use *must* be globally routable back to the internet device it left from. it must be your IP address. maybe you mean something like stripping x-forwarded-for headers from proxy requests?? maybe the clue is in your use of the word "real"?
Let me rephrase, then:

Is it currently possible to set up my Ubuntu server so that:

1) It acts like a standard router distributing an INET signal to my internal LAN devices;

2) ALL requests (of any kind or protocol) are routed through a proxy (or other such anonymizer) so that that destination INET servers see only the address of the requesting proxy, and not the IP address from my ISP.

Thanks.
 
Old 01-06-2008, 04:09 PM   #6
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
ok well, what is the address of the proxy? what is the address of the ISP?
 
Old 01-06-2008, 04:15 PM   #7
lurkinbf
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
ok well, what is the address of the proxy? what is the address of the ISP?
Make them up. Do those specifics really matter in the framework of this theoretical conversation?
 
Old 01-06-2008, 04:30 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Are you asking for connecting from your system going out (surfing, etc) or are you talking the connection coming from the internet to you (ftp server etc). If the first then yes, set a main internal proxy then set the proxy to use tor. If you mean the second then no.
 
Old 01-06-2008, 04:55 PM   #9
lurkinbf
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Are you asking for connecting from your system going out (surfing, etc) or are you talking the connection coming from the internet to you (ftp server etc). If the first then yes, set a main internal proxy then set the proxy to use tor. If you mean the second then no.
I mean the first. Thank you.

TOR will not handle UDP requests, if I remember correctly, will it?
 
Old 01-07-2008, 02:37 AM   #10
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
Quote:
Originally Posted by lurkinbf View Post
Make them up. Do those specifics really matter in the framework of this theoretical conversation?
it matters to try to work out what you actually mean... are they private address ranges or something? what you are actually asking for is impossible. what you actually mean might be... your internet traffic *MUST* be routed on the internet using the IP address of your internet facing devices. if you don't understand this, then you meed to go and read up on tcp/ip basics. There are options like using socks proxies and things, but really aren't going to be "normal" things by anymeans. if you think you are just looking for a nominal security tick box, then you are mislead... your internet traffic will always come from your own IP address if you are on the internet directly. ISP's like AOL do do IP proxying, but that's horrible, as you then can't serve anything at all and well.. your'e with AOL, that's bad enough.
 
  


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
Need to create a Linux Dual WAN Router familyman Linux - Networking 9 06-26-2011 12:52 AM
Problems with anonymous login proftp 1.3.1: 530-Unable to set anonymous priviliges. gentooox Linux - Server 3 05-03-2009 02:46 PM
Create Firewall/Router with Wireless Capability FrostShock Debian 7 04-04-2007 04:07 PM
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM
How to create a Linux Router choad Linux - Networking 15 06-21-2003 11:27 PM

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

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