Thanks Thanks:  0
Likes Likes:  0
Needs Pictures Needs Pictures:  0
Picture(s) thanks Picture(s) thanks:  0
Page 1 of 3 123 LastLast
Results 1 to 15 of 34
  1. #1
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default How do I get past my router

    A little bit of advice would be appreciated here. I have a permanent IP number that is assigned to my DSL connection by my ISP. I want to set up a web site on a computer that uses private IPs that are dynamically issued by the router. How do I tell the system that it should direct any HTTP call that is for 203.3.whatever to 192.168.1.whatever?

    In the router it allows me to tell it to redirect all calls for port 80 to another port or even another private IP address, but as the IPs are dynamically allocated how do I know what computer gets to answer the calls.

    So, in another words. My IP address is 203.3.126.224. How can I auto redirect all calls on my network to the computer which is hosting the web pages?
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  2. # ADS
    Google Adsense Advertisement
    Join Date
    Always
    Location
    Advertising world
    Age
    2010
    Posts
    Many





     
  3. #2
    Join Date
    Oct 2003
    Location
    Romsey Victoria
    Age
    63
    Posts
    3,854

    Default

    It depends on your router. I have a D-Link wireless router and I can configure it by going to http://192.168.0.1

    There is an advanced option to configure 'Virtual Servers'
    I highlighted the Virtual Server HTTP (web pages) and put in the internal IP address of the computer that hosts the website.

    Your router might be completely different though.

    Virtual Server
    Virtual Server is used to allow Internet users access to LAN services.
    Enabled Disabled
    Name
    Private IP
    Protocol Type
    Private Port
    Public Port


    Schedule
    Always
    Fromtime : to :
    day to
    Virtual Servers List
    NamePrivate IPProtocolSchedule
    Virtual Server FTP0.0.0.0TCP 21/21always
    Virtual Server HTTP0.0.0.0TCP 80/80always
    Virtual Server HTTPS0.0.0.0TCP 443/443always
    Virtual Server DNS0.0.0.0UDP 53/53always
    Photo Gallery

  4. #3
    Join Date
    Aug 2003
    Location
    Melbourne - Outer East Foothills
    Posts
    6,786

    Default

    Quote Originally Posted by Bob Willson
    A little bit of advice would be appreciated here. I have a permanent IP number that is assigned to my DSL connection by my ISP. I want to set up a web site on a computer that uses private IPs that are dynamically issued by the router. How do I tell the system that it should direct any HTTP call that is for 203.3.whatever to 192.168.1.whatever?

    In the router it allows me to tell it to redirect all calls for port 80 to another port or even another private IP address, but as the IPs are dynamically allocated how do I know what computer gets to answer the calls.

    So, in another words. My IP address is 203.3.126.224. How can I auto redirect all calls on my network to the computer which is hosting the web pages?
    Can I add at this point that the Triton router is the best for table use ???
    If at first you don't succeed, give something else a go. Life is far too short to waste time trying.

  5. #4
    Join Date
    Feb 2003
    Location
    Garvoc VIC AUSTRALIA
    Posts
    11,464

    Default

    damn, Gumby beat to the smart reply!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Regards, Bob Thomas

    www.wombatsawmill.com

  6. #5
    Join Date
    Aug 2003
    Location
    Melbourne - Outer East Foothills
    Posts
    6,786

    Default

    Quote Originally Posted by echnidna
    damn, Gumby beat to the smart reply!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Sorry Bob, it had to be said
    If at first you don't succeed, give something else a go. Life is far too short to waste time trying.

  7. #6
    Join Date
    May 2005
    Location
    Brisbane
    Age
    52
    Posts
    417

    Default

    Bob, a lot of the routers now have tick box type setups to do this (as per Grunts reply).
    Failing that the old fashioned (and not very elegant) way to do it would be to port forward.
    i.e port forward 203.3.126.224:8080 192.168.1.123:8080 or some thing similar.
    Specializing in O positive timber stains

  8. #7
    Join Date
    Aug 2002
    Location
    Sydney, NSW, Australia
    Posts
    5,014

    Default

    Do you know that in the U.K., what we call a router (IP that is) is pronounced "rooter".

    At work, whenever we get a comms person straight off the plane, the first thing they have to learn is to modify their pronunciation of router.

    I don't know how they pronounce it in the US. :confused:

  9. #8
    Join Date
    Apr 2005
    Location
    adelaide
    Posts
    96

    Default

    As mentioned by others it depends on your modem/ router. The internal network will probably have 192.168.0/ or 10.0.0 type ip range. You should be able to setup either bridging direct to the web server, which is what I use but a decent operating system (ie not windows) would be best, or you should be able to port forward, so all incoming requests to your static ip on port 80 go through the router directly to the web server.

    The router manual, or help pages will have something on this.

    cheers

    shaun

  10. #9
    Join Date
    May 2005
    Location
    Burnett Heads, QLD
    Age
    64
    Posts
    1,535

    Default changing bits

    BOB,

    Like table routers computer routers need to be properly configured. they both rely on bits. in table routers you need collet spanners to change the bits, whereas on teh computer router you can adjust the bits (and bytes) utilising the software. i hope this helps.

    (gumby might have beaten me to the first, and most obvious smartarse answer, but if you look deeper into the problem, theres always something left for the creative mind)

    Doug

  11. #10
    Join Date
    Aug 2002
    Location
    Melbourne, Victoria
    Posts
    5,513

    Default

    Be buggered if I understood a word of that. Not that I don't doubt it is right, I just can't seem to work out how to bypass the firewall on my router (and no- that isn't the new dust collection box either )

    Sounds like you are trying to run a web server behind a router. I really want to be able to do that (need more space than the 50MB that my ISP allocates), but have been told to stay well clear of it because of the little bastards out there who will attack the computer within hours.

    Also want to be able to get a webcam feed out through the firewall (so I can keep an eye on the pets (and yeah, I'll leave the definition of pets open to interpretation!) It may be a bit clearer when I say that I also want to hook up speakers so I can have a little chat with my dogs when they decide to dig another hole in the back yard!)
    "Clear, Ease Springs"
    www.Stu's Shed.com


  12. #11
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default

    Thank you for the intelligent replies from those who know what I am asking and thanks also for the less helpful but still appreciated replies from some others.

    I have a Billion Wireless ADSL Security Router. This router has similar setup properties to most others and can be configured by a page in a browser.

    I went to the virtual server (port forwarding) and in there I assigned all port 80 traffic to 192.168.1.150.

    Next, I went to the Linux box and set the address as a permanent address of 192.168.1.150. then rebooted Linux just to be sure.

    I am running an Apache http server and so I can see that there are several instances of http servers running when I do a ps -aux.

    Ifconfig tells me that it is running eth0 as 192.168.1.150 and it is not having any troubles. However, I cannot get anywhere via http either by using the 203.3.126.IP directly nor http://jwillson.apana.org.au

    I can however see it all from the Windows box if I go directly to 192.168.1.150. My aborted/distorted Apache screen comes up properly.

    So what am I missing?
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  13. #12
    Join Date
    Apr 2005
    Location
    adelaide
    Posts
    96

    Default

    Quote Originally Posted by Bob Willson
    Thank you for the intelligent replies from those who know what I am asking and thanks also for the less helpful but still appreciated replies from some others.

    I have a Billion Wireless ADSL Security Router. This router has similar setup properties to most others and can be configured by a page in a browser.

    I went to the virtual server (port forwarding) and in there I assigned all port 80 traffic to 192.168.1.150.

    Next, I went to the Linux box and set the address as a permanent address of 192.168.1.150. then rebooted Linux just to be sure.

    I am running an Apache http server and so I can see that there are several instances of http servers running when I do a ps -aux.

    Ifconfig tells me that it is running eth0 as 192.168.1.150 and it is not having any troubles. However, I cannot get anywhere via http either by using the 203.3.126.IP directly nor http://jwillson.apana.org.au

    I can however see it all from the Windows box if I go directly to 192.168.1.150. My aborted/distorted Apache screen comes up properly.

    So what am I missing?
    looks like you are nearly there. The first place to look would be the router, just double check that the port forwarding is correct. Next check that apache is running on port 80 (it is the default, but I don't know your setup).

    I just did a port scan on your network and port 80 came up, but i can't get to a web server, so either it is pointing to the wrong box, http is not running (you would have picked this up with the ps aux command) or there is a firewall blocking it. Have a think about those and see what you can find.
    shaun@daria$ nmap jwillson.apana.org.au

    Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-07 09:45 CST
    Interesting ports on jwillson.apana.org.au (203.3.126.224):
    (The 1662 ports scanned but not shown below are in state: filtered)
    PORT STATE SERVICE
    80/tcp open http

    Nmap finished: 1 IP address (1 host up) scanned in 43.100 seconds
    shaun@daria$ telnet jwillson.apana.org.au 80
    Trying 203.3.126.224...

    (this just sits there looking for a socket).

    You are close to getting this working, but if you want to have a bit more fun and far more control, consider bridging the modem and using pppoe/ pppoa on the linux box with the rest of the network hiding behind this gateway. Doing this would give you good protection, while easily allowing web, mail, other servers that make you happy, and most importantly ssh. having ssh open gives you the ability to control your network from anywhere in the world.

    Feel free to ask more here, or mail [email protected], or contact parsec on freenode (irc) if I can help.

    shaun
    Here is my quick test:

  14. #13
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default

    I used PuTTy to log in as root on jwillson and this is the ps -aux result.
    It clearly shows that httpd is running plus a load of other stuff that I may or may not need.
    As I (may have) said before, the router does have a built in firewall but I have disabled everything in it.
    [root@jwillson root]# ps -aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.1 1288 484 ? S 09:49 0:04 init
    root 2 0.0 0.0 0 0 ? SW 09:49 0:00 [keventd]
    root 3 0.0 0.0 0 0 ? SW 09:49 0:00 [kapmd]
    root 4 0.0 0.0 0 0 ? SWN 09:49 0:00 [ksoftirqd_CPU0]
    root 5 0.0 0.0 0 0 ? SW 09:49 0:00 [kswapd]
    root 6 0.0 0.0 0 0 ? SW 09:49 0:00 [bdflush]
    root 7 0.0 0.0 0 0 ? SW 09:49 0:00 [kupdated]
    root 8 0.0 0.0 0 0 ? SW< 09:49 0:00 [mdrecoveryd]
    root 12 0.0 0.0 0 0 ? SW 09:49 0:00 [kjournald]
    root 96 0.0 0.2 1696 948 ? S 09:49 0:00 devfsd /dev
    root 186 0.0 0.0 0 0 ? SW 09:49 0:00 [khubd]
    root 305 0.0 0.0 0 0 ? SW 09:49 0:00 [kjournald]
    rpc 776 0.0 0.1 1416 532 ? S 09:49 0:00 portmap
    root 790 0.0 0.1 1356 584 ? S 09:49 0:00 syslogd -m 0
    root 798 0.0 0.3 1888 1096 ? S 09:49 0:00 klogd -2
    rpcuser 842 0.0 0.2 1500 740 ? S 09:49 0:00 rpc.statd
    root 857 0.0 0.1 1336 496 ? S 09:49 0:00 gpm -t imps2 -m /dev/psaux
    root 875 0.0 0.1 1412 600 ? S 09:49 0:00 ypserv
    xfs 976 0.0 1.3 5704 4392 ? S 09:49 0:00 xfs -port -1 -daemon -droppriv -user xfs
    root 1028 0.0 0.1 1268 476 ? S 09:49 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmd_proxy
    root 1045 0.0 0.1 1468 600 ? S 09:49 0:00 rpc.ypxfrd
    daemon 1086 0.0 0.1 1312 504 ? S 09:49 0:00 /usr/sbin/atd
    root 1097 0.0 0.2 2292 664 ? S 09:49 0:00 /usr/bin/kdm -nodaemon
    root 1110 0.0 0.1 1500 492 ? S 09:49 0:00 saslauthd -a pam -T
    root 1121 1.1 3.7 79696 11964 ? S< 09:49 1:07 /etc/X11/X -deferglyphs 16 -auth /var/run/xauth/A:0-ew4hBz
    named 1126 0.0 0.6 10068 2216 ? S 09:49 0:00 named -u named
    named 1127 0.0 0.6 10068 2216 ? S 09:49 0:00 named -u named
    named 1128 0.0 0.6 10068 2216 ? S 09:49 0:00 named -u named
    named 1132 0.0 0.6 10068 2216 ? S 09:49 0:00 named -u named
    named 1137 0.0 0.6 10068 2216 ? S 09:49 0:00 named -u named
    root 1143 0.0 0.4 3244 1308 ? S 09:49 0:00 -:0
    root 1171 0.0 0.5 1712 1704 ? SL 09:49 0:00 ntpd -A
    root 1191 0.0 0.3 2660 1244 ? S 09:49 0:00 /usr/sbin/sshd
    root 1214 0.0 0.2 2068 940 ? S 09:49 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
    root 1251 0.0 0.5 4748 1692 ? S 09:49 0:00 cupsd
    root 1389 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1390 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1391 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1392 0.0 0.0 0 0 ? SW 09:49 0:00 [lockd]
    root 1393 0.0 0.0 0 0 ? SW 09:49 0:00 [rpciod]
    root 1394 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1395 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1396 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1397 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1398 0.0 0.0 0 0 ? SW 09:49 0:00 [nfsd]
    root 1410 0.0 0.1 1392 480 ? S 09:49 0:00 rpc.mountd
    root 1425 0.0 0.1 1296 492 ? S 09:49 0:00 rwhod
    root 1435 0.0 0.1 1300 544 ? S 09:49 0:00 rwhod
    root 1442 0.0 0.1 1568 476 ? S 09:49 0:00 rpc.yppasswdd
    root 1581 0.0 0.3 3784 1224 ? S 09:50 0:00 /usr/lib/postfix/master
    postfix 1592 0.0 0.4 3908 1332 ? S 09:50 0:00 pickup -l -t fifo -u -c
    postfix 1593 0.0 0.4 3968 1392 ? S 09:50 0:00 nqmgr -l -n qmgr -t fifo -u -c
    root 1727 0.0 1.2 7424 3944 ? S 09:50 0:00 httpd-perl -f /etc/httpd/conf/httpd-perl.conf -DPERLPROXIED -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_
    apache 1734 0.0 1.2 7532 4012 ? S 09:50 0:00 httpd-perl -f /etc/httpd/conf/httpd-perl.conf -DPERLPROXIED -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_
    apache 1735 0.0 1.2 7532 4012 ? S 09:50 0:00 httpd-perl -f /etc/httpd/conf/httpd-perl.conf -DPERLPROXIED -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_
    apache 1736 0.0 1.2 7532 4012 ? S 09:50 0:00 httpd-perl -f /etc/httpd/conf/httpd-perl.conf -DPERLPROXIED -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_
    apache 1737 0.0 1.2 7532 4012 ? S 09:50 0:00 httpd-perl -f /etc/httpd/conf/httpd-perl.conf -DPERLPROXIED -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_
    root 1743 0.0 1.0 8004 3320 ? S 09:50 0:00 httpd -DPERLPROXIED -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_AL
    root 1750 0.0 0.4 3416 1488 ? S 09:50 0:00 /usr/bin/perl /usr/sbin/advxsplitlogfile
    apache 1751 0.0 1.0 8136 3524 ? S 09:50 0:00 httpd -DPERLPROXIED -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_AL
    apache 1752 0.0 1.1 8136 3576 ? S 09:50 0:00 httpd -DPERLPROXIED -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_AL
    apache 1753 0.0 1.0 8136 3524 ? S 09:50 0:00 httpd -DPERLPROXIED -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_AL
    apache 1754 0.0 1.0 8136 3524 ? S 09:50 0:00 httpd -DPERLPROXIED -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_AL
    nobody 1789 0.0 0.4 4168 1472 ? S 09:50 0:00 proftpd (accepting connections)
    root 1820 0.0 0.1 1484 624 ? S 09:50 0:00 crond
    root 1839 0.0 0.6 5028 1960 ? S 09:50 0:00 smbd -D
    root 1849 0.0 0.5 3800 1764 ? S 09:50 0:00 nmbd -D
    root 1853 0.0 0.4 3768 1480 ? S 09:50 0:00 nmbd -D
    root 1874 0.0 0.3 2476 1064 ? S 09:50 0:00 /usr/bin/lisa -c /etc/lisarc
    root 2011 0.0 0.1 1248 412 vc/1 S 09:50 0:00 /sbin/mingetty tty1
    root 2012 0.0 0.1 1248 412 vc/2 S 09:50 0:00 /sbin/mingetty tty2
    root 2013 0.0 0.1 1248 412 vc/3 S 09:50 0:00 /sbin/mingetty tty3
    root 2014 0.0 0.1 1248 412 vc/4 S 09:50 0:00 /sbin/mingetty tty4
    root 2015 0.0 0.1 1248 412 vc/5 S 09:50 0:00 /sbin/mingetty tty5
    root 2016 0.0 0.1 1248 412 vc/6 S 09:50 0:00 /sbin/mingetty tty6
    root 2089 0.0 0.3 2384 1220 ? S 09:54 0:00 /bin/sh /usr/bin/startkde
    root 2186 0.0 2.4 19544 7848 ? S 09:54 0:00 kdeinit: Running...
    root 2189 0.0 2.4 19468 8004 ? S 09:54 0:00 kdeinit: dcopserver --nosid
    root 2192 0.0 2.8 20640 9124 ? S 09:54 0:00 kdeinit: klauncher
    root 2194 0.0 3.5 35620 11476 ? S 09:54 0:00 kdeinit: kded
    root 2203 0.0 1.5 7984 5012 ? S 09:54 0:00 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
    root 2207 0.0 4.2 39492 13580 ? S 09:54 0:00 kdeinit: knotify
    root 2208 0.0 0.0 1324 312 ? S 09:54 0:00 kwrapper ksmserver --restore
    root 2210 0.0 3.5 35528 11300 ? S 09:54 0:00 kdeinit: ksmserver --restore
    root 2211 0.0 4.0 36556 13012 ? S 09:54 0:01 kdeinit: kwin -session 11cb037ee0000112046986800000023290000
    root 2213 0.0 5.2 41428 16956 ? S 09:54 0:01 kdeinit: kdesktop
    root 2215 0.0 4.7 38328 15176 ? S 09:54 0:01 kdeinit: kicker
    root 2222 0.0 3.8 36356 12304 ? S 09:54 0:00 kdeinit: kwrited
    root 2223 0.0 5.0 38604 16184 ? S 09:54 0:00 kdeinit: konqueror -session 11cb037ee0000112054809300000023290055
    root 2226 0.0 3.8 35708 12256 ? S 09:54 0:00 korgac --miniicon korganizer
    root 2227 0.0 3.4 35452 11040 ? S 09:54 0:00 kalarmd -session 11cb037ee0000112046987300000023290006
    apache 2382 0.0 1.0 8136 3528 ? S 10:09 0:00 httpd -DPERLPROXIED -DHAVE_PHP4 -DHAVE_SSL -DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_AL
    root 2858 0.6 2.6 15224 8588 ? S 11:21 0:01 /usr/bin/gnome-terminal
    root 2860 0.0 0.7 4336 2464 ? S 11:21 0:00 /usr/lib/gconfd-2 10
    root 2862 0.0 0.6 4020 2160 ? S 11:21 0:00 /usr/lib/bonobo-activation-server --ac-activate --ior-output-fd=14
    root 2863 0.0 0.1 1312 492 ? S 11:21 0:00 /usr/lib/libzvt-2.0/gnome-pty-helper
    root 2864 0.0 0.5 2720 1604 pts/1 S 11:21 0:00 bash
    root 2902 0.1 0.5 6100 1896 ? S 11:24 0:00 /usr/sbin/sshd
    root 2904 0.1 0.5 2716 1608 pts/2 S 11:24 0:00 -bash
    root 2939 0.1 0.3 2264 976 pts/2 S 11:24 0:00 su
    root 2940 0.4 0.4 2716 1600 pts/2 S 11:24 0:00 bash
    root 2968 0.6 0.4 2716 1600 pts/2 S 11:24 0:00 bash
    root 2996 0.0 0.2 2760 880 pts/2 R 11:24 0:00 ps -aux
    [root@jwillson root]#
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  15. #14
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default see also

    Router info
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  16. #15
    Join Date
    Oct 2003
    Location
    Romsey Victoria
    Age
    63
    Posts
    3,854

    Default

    Silly question. From one of your other machines can you see the website on the Linux box?
    Photo Gallery

Page 1 of 3 123 LastLast

Similar Threads

  1. Router book review
    By Grunt in forum ROUTING FORUM
    Replies: 4
    Last Post: 27th July 2017, 07:25 PM
  2. Router Lifter (Ryobi and others?)
    By ptrott in forum TRITON / GMC
    Replies: 3
    Last Post: 10th March 2009, 07:32 PM
  3. Triton Router
    By chook in forum HAND TOOLS - POWERED
    Replies: 47
    Last Post: 26th August 2008, 06:22 PM
  4. Setting up the GMC Fixed-based router in a table
    By derekcohen in forum ROUTING FORUM
    Replies: 27
    Last Post: 13th February 2008, 12:45 AM
  5. World's Cheapes Router Insert
    By bitingmidge in forum ROUTING FORUM
    Replies: 10
    Last Post: 8th June 2004, 08:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •