Hello,
I'm having a real problem getting my head around routing. The routes were always configured on my machines, and so I am a bit confused by the examples in the handbook and online.
Here's my situation. I have a dedicated server inside of a NOC. The default router is 77.x.x.x. I want to put a reverse proxy on my IP 88.x.x.x, forwarding traffic to jails 192.x.x.10, 192.x.x.20 and 192.x.x.30.
Jails 1,2, and 3 do not need to talk to one another, only to the proxy
So it looks like this:
NOC External (default router) 77.x.x.x
---------------------------------
My reverse proxy IP 88.x.x.x
Jail1 192.x.x.10
Jail2 192.x.x.20
Jail3 192.x.x.30
In rc.conf, do I keep the default router as 88.x.x.x? Will this expose my 192 jails to external traffic?
Would you kindly take a look at this rc.conf setting and see if it would work?
My host rc.conf:
The client rc.conf would look like this:
I just know that this is wrong. Unfortunately, I am self-learning and don’t have the depth of knowledge to determine what it is.
Thank you for your help,
Bill
I'm having a real problem getting my head around routing. The routes were always configured on my machines, and so I am a bit confused by the examples in the handbook and online.
Here's my situation. I have a dedicated server inside of a NOC. The default router is 77.x.x.x. I want to put a reverse proxy on my IP 88.x.x.x, forwarding traffic to jails 192.x.x.10, 192.x.x.20 and 192.x.x.30.
Jails 1,2, and 3 do not need to talk to one another, only to the proxy
So it looks like this:
NOC External (default router) 77.x.x.x
---------------------------------
My reverse proxy IP 88.x.x.x
Jail1 192.x.x.10
Jail2 192.x.x.20
Jail3 192.x.x.30
In rc.conf, do I keep the default router as 88.x.x.x? Will this expose my 192 jails to external traffic?
Would you kindly take a look at this rc.conf setting and see if it would work?
My host rc.conf:
Code:
gateway_enable="YES"
defaultrouter="88.x.x.x"
static_routes="lan1"
route_lan1="-net 192.168.1.0/24 77.x.x.x"
The client rc.conf would look like this:
Code:
defaultrouter="77.x.x.x"
static_routes="lan1"
I just know that this is wrong. Unfortunately, I am self-learning and don’t have the depth of knowledge to determine what it is.
Thank you for your help,
Bill