How to make HTTP proxy to the VPN Tunnel?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a VPN tunnel running, where test.google.com
= VPN HTTP server with IP 10.0.0.3
.
So I have /etc/hosts
with DNS mapping test.google.com
= 10.0.0.3
when I ping test.google.com
it works.
Now externally I need to test HTTP access so I applied the following:
$ socat TCP-LISTEN:9999,fork,reuseaddr TCP:test.google.com
Now when I browse http://myserver.com:9999 then it fails.
SRVE0255E: A WebGroup/Virtual Host to handle /stackoverflow/test has not been defined.
SRVE0255E: A WebGroup/Virtual Host to handle myserver.com has not been defined.
IBM WebSphere Application Server
centos vpn http-proxy socat
add a comment |Â
up vote
0
down vote
favorite
I have a VPN tunnel running, where test.google.com
= VPN HTTP server with IP 10.0.0.3
.
So I have /etc/hosts
with DNS mapping test.google.com
= 10.0.0.3
when I ping test.google.com
it works.
Now externally I need to test HTTP access so I applied the following:
$ socat TCP-LISTEN:9999,fork,reuseaddr TCP:test.google.com
Now when I browse http://myserver.com:9999 then it fails.
SRVE0255E: A WebGroup/Virtual Host to handle /stackoverflow/test has not been defined.
SRVE0255E: A WebGroup/Virtual Host to handle myserver.com has not been defined.
IBM WebSphere Application Server
centos vpn http-proxy socat
1
Websphere hasn't been configured to answer requests for myserver.com. You'll need a reverse proxy running on myserver.com.
â Gerard H. Pille
Sep 3 at 8:01
Which reverse proxy? how do i do that reverse proxy using socat?
â YumYumYum
Sep 3 at 9:47
1
I don't think socat can serve as a reverse proxy. If you don't know the meaning of a reverse proxy, please look it up. I'm thinking of haproxy or nginx.
â Gerard H. Pille
Sep 3 at 19:51
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a VPN tunnel running, where test.google.com
= VPN HTTP server with IP 10.0.0.3
.
So I have /etc/hosts
with DNS mapping test.google.com
= 10.0.0.3
when I ping test.google.com
it works.
Now externally I need to test HTTP access so I applied the following:
$ socat TCP-LISTEN:9999,fork,reuseaddr TCP:test.google.com
Now when I browse http://myserver.com:9999 then it fails.
SRVE0255E: A WebGroup/Virtual Host to handle /stackoverflow/test has not been defined.
SRVE0255E: A WebGroup/Virtual Host to handle myserver.com has not been defined.
IBM WebSphere Application Server
centos vpn http-proxy socat
I have a VPN tunnel running, where test.google.com
= VPN HTTP server with IP 10.0.0.3
.
So I have /etc/hosts
with DNS mapping test.google.com
= 10.0.0.3
when I ping test.google.com
it works.
Now externally I need to test HTTP access so I applied the following:
$ socat TCP-LISTEN:9999,fork,reuseaddr TCP:test.google.com
Now when I browse http://myserver.com:9999 then it fails.
SRVE0255E: A WebGroup/Virtual Host to handle /stackoverflow/test has not been defined.
SRVE0255E: A WebGroup/Virtual Host to handle myserver.com has not been defined.
IBM WebSphere Application Server
centos vpn http-proxy socat
centos vpn http-proxy socat
edited Sep 3 at 6:03
slmâ¦
239k65494665
239k65494665
asked Sep 3 at 5:49
YumYumYum
1,559113364
1,559113364
1
Websphere hasn't been configured to answer requests for myserver.com. You'll need a reverse proxy running on myserver.com.
â Gerard H. Pille
Sep 3 at 8:01
Which reverse proxy? how do i do that reverse proxy using socat?
â YumYumYum
Sep 3 at 9:47
1
I don't think socat can serve as a reverse proxy. If you don't know the meaning of a reverse proxy, please look it up. I'm thinking of haproxy or nginx.
â Gerard H. Pille
Sep 3 at 19:51
add a comment |Â
1
Websphere hasn't been configured to answer requests for myserver.com. You'll need a reverse proxy running on myserver.com.
â Gerard H. Pille
Sep 3 at 8:01
Which reverse proxy? how do i do that reverse proxy using socat?
â YumYumYum
Sep 3 at 9:47
1
I don't think socat can serve as a reverse proxy. If you don't know the meaning of a reverse proxy, please look it up. I'm thinking of haproxy or nginx.
â Gerard H. Pille
Sep 3 at 19:51
1
1
Websphere hasn't been configured to answer requests for myserver.com. You'll need a reverse proxy running on myserver.com.
â Gerard H. Pille
Sep 3 at 8:01
Websphere hasn't been configured to answer requests for myserver.com. You'll need a reverse proxy running on myserver.com.
â Gerard H. Pille
Sep 3 at 8:01
Which reverse proxy? how do i do that reverse proxy using socat?
â YumYumYum
Sep 3 at 9:47
Which reverse proxy? how do i do that reverse proxy using socat?
â YumYumYum
Sep 3 at 9:47
1
1
I don't think socat can serve as a reverse proxy. If you don't know the meaning of a reverse proxy, please look it up. I'm thinking of haproxy or nginx.
â Gerard H. Pille
Sep 3 at 19:51
I don't think socat can serve as a reverse proxy. If you don't know the meaning of a reverse proxy, please look it up. I'm thinking of haproxy or nginx.
â Gerard H. Pille
Sep 3 at 19:51
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466492%2fhow-to-make-http-proxy-to-the-vpn-tunnel%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Websphere hasn't been configured to answer requests for myserver.com. You'll need a reverse proxy running on myserver.com.
â Gerard H. Pille
Sep 3 at 8:01
Which reverse proxy? how do i do that reverse proxy using socat?
â YumYumYum
Sep 3 at 9:47
1
I don't think socat can serve as a reverse proxy. If you don't know the meaning of a reverse proxy, please look it up. I'm thinking of haproxy or nginx.
â Gerard H. Pille
Sep 3 at 19:51