LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-14-2010, 05:53 PM   #1
oznola
Member
 
Registered: Mar 2010
Location: las vegas, nv
Distribution: debian etch, kubuntu, mac osx 10.51, vista
Posts: 65

Rep: Reputation: 15
Red face portforwarding vs. other options


hi,

i have some servers behind a server/router/firewall at http://alonzofretwell.com that can be accessed using port forwarding. they are working quite well.

http://alonzofretwell.com:1234 gets you to the first server behind the server/router/firewall (the former link above).

i would want to make the server at the latter link accessible with its own domain name ie http://<domainname>.com without having to add :<port> to the end of http://alonzofretwell.com because ":" is disallowed for aliasing in the a and cname records at network solutions (my dns?).

is port forwarding the best way to reach these servers behind my firewall?

is it possible to assign them their own domain name?

perhaps some method other than port forwarding should be used?


please advise.

thank you.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-14-2010, 05:58 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
I use reverse proxying, this means you open one server up on your router, then reverse proxy all traffic through it, using something like squid. Take a look at this wikipedia article for more info: http://en.wikipedia.org/wiki/Reverse_proxy, and this: http://www.apachetutor.org/admin/reverseproxies is how you do it with apache, and this: http://www.visolve.com/squid/whitepa...verseproxy.php gives an overview with squid.

Last edited by irishbitte; 03-14-2010 at 06:04 PM.
 
2 members found this post helpful.
Old 03-15-2010, 02:18 AM   #3
oznola
Member
 
Registered: Mar 2010
Location: las vegas, nv
Distribution: debian etch, kubuntu, mac osx 10.51, vista
Posts: 65

Original Poster
Rep: Reputation: 15
hi,

i have read the pages you gave links to. and i feel like squid would give the best performance because of the reverse proxy caching feature. and squid gave good diagrams on what a configured system should look like.

those squid diagrams reflect the vision that i have for my network with the exception that the reverse proxy server will coexist with the apache2 server on the hardware that serves my main site. the squid page states this is an acceptable arrangement.

i have installed squid on the hardware that is labeled "Reverse Proxy Server" in the first diagram labeled "Typical Reverse Proxy Set-up". i am sure it will work for someone who knows how to configure it. i am reading /etc/squid/squid.conf to get into it a little more.

i am not sure where to begin other than to reread the links you gave and perhaps try to find some squid tutorials. i am confident that squid is the right tool for me to use for the objective i started this thread with.

i guess i will continue with reading http://squid-cache.org to get a handle on using it.

can you point me at anything else that would fast-track me with setting up squid as a revers proxy server?

thank you again.
 
Old 03-15-2010, 07:27 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Broadly, I would start with a simple squid setup, if you're running ubuntu, a simple
Code:
sudo apt-get install squid
should be enough. Make a copy of squid.conf, then play with the variables in there to see what you can make it do. Squid is primarily a web proxy server, not a reverse proxy server, even though it does both very well. See if you can setup a transparent proxy, then a non-transparent proxy, and finally a reverse proxy. This will help you see whats happening in there!
 
1 members found this post helpful.
  


Reply

Tags
portforward, proxy, reverse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Portforwarding not working jonaskellens Linux - Newbie 3 08-16-2009 03:56 AM
portforwarding with iptables muhammednavas Linux - Security 1 08-28-2007 12:49 PM
portforwarding joel b Linux - Newbie 3 05-11-2005 04:01 PM
IPTABLES and PortForwarding ComFox Linux - Networking 1 09-09-2002 04:37 PM
Portforwarding with Iptables toxic Linux - Security 2 02-14-2002 11:52 PM


All times are GMT -5. The time now is 05:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration