Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24497 > unrolled thread

Java Proxy Application

Started bybobspero@gmail.com
First post2013-06-21 03:44 -0700
Last post2013-06-21 21:38 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Java Proxy Application bobspero@gmail.com - 2013-06-21 03:44 -0700
    Re: Java Proxy Application "John B. Matthews" <nospam@nospam.invalid> - 2013-06-21 15:55 -0400
    Re: Java Proxy Application Martin Gregorie <martin@address-in-sig.invalid> - 2013-06-21 21:38 +0000

#24497 — Java Proxy Application

Frombobspero@gmail.com
Date2013-06-21 03:44 -0700
SubjectJava Proxy Application
Message-ID<1a711a30-4780-4cbc-8034-79d5a194b6fe@googlegroups.com>
I need help with how to tackle this problem. A good example is I have a web site on my local computer that is am allowing users to access through a NATéd ip. My router has an internal ASP page that I can access at 192.168.1.1, I want my users to be able to enter the ip address of the router and have the server show the page. Users access my site through 29.xx.xx.xx so there browser can not access the 192 directly. I have looked at sockets, but I do not know it can be done to an ASP page.

Where do I start? I can not alter the network in anyway the host server is the only computer that has access to the ASP page.

[toc] | [next] | [standalone]


#24499

From"John B. Matthews" <nospam@nospam.invalid>
Date2013-06-21 15:55 -0400
Message-ID<nospam-D17E99.15551721062013@news.aioe.org>
In reply to#24497
In article <1a711a30-4780-4cbc-8034-79d5a194b6fe@googlegroups.com>,
 bobspero@gmail.com wrote:

> I need help with how to tackle this problem. A good example is I have 
> a web site on my local computer that is am allowing users to access 
> through a NATéd ip. My router has an internal ASP page that I can 
> access at 192.168.1.1, I want my users to be able to enter the ip 
> address of the router and have the server show the page. Users access 
> my site through 29.xx.xx.xx so there browser can not access the 192 
> directly. I have looked at sockets, but I do not know it can be done 
> to an ASP page.
> 
> Where do I start? I can not alter the network in anyway the host 
> server is the only computer that has access to the ASP page.

Your router may support port mapping:

<http://en.wikipedia.org/wiki/Port_forwarding>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [prev] | [next] | [standalone]


#24502

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2013-06-21 21:38 +0000
Message-ID<kq2h4d$osv$2@dont-email.me>
In reply to#24497
On Fri, 21 Jun 2013 03:44:09 -0700, bobspero wrote:

> I need help with how to tackle this problem. A good example is I have a
> web site on my local computer that is am allowing users to access
> through a NATéd ip. My router has an internal ASP page that I can access
> at 192.168.1.1, I want my users to be able to enter the ip address of
> the router and have the server show the page. Users access my site
> through 29.xx.xx.xx so there browser can not access the 192 directly. I
> have looked at sockets, but I do not know it can be done to an ASP page.
> 
> Where do I start? I can not alter the network in anyway the host server
> is the only computer that has access to the ASP page.

That's nothing to do with a proxy, regardless whether its written in Java 
or not.

Look up 'port forwarding' in your router's manual: that will let you 
direct port 80 to a specific host on your LAN. 

Be very careful: you'll be giving everybody direct access to that 
machine, so it MUST be locked up tight with a good firewall. You'll need 
to be running the Apache webserver (or some equivalent) on that port on 
the host and it must be carefully configured to restrict what hackers and 
script kiddies can do to your stuff. Apache has a lot of abilities to 
handle logins etc and control who can see particular pages but, as you 
don't see aware of either port forwarding or Apache, you have a steep 
learning curve ahead.

Best advice is 'don't do it'. Hiring small amounts of web space from a 
web hosting provider is cheap, so put your pages on a web provider and 
let them worry about security.

Right: this subject is entirely off topic for c.l.j.p so I suggest you 
move this discussion elsewhere.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web