Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24502
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java Proxy Application |
| Date | 2013-06-21 21:38 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <kq2h4d$osv$2@dont-email.me> (permalink) |
| References | <1a711a30-4780-4cbc-8034-79d5a194b6fe@googlegroups.com> |
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 |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web