Re: select outgoing route depending on souce interface (net)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jon Rubio
Date: Friday, March 7, 2008 - 7:01 am

Giancarlo Razzolini wrote:

Hello Giancarlo,

Many thanks for all your help. You rock it!

The rule you suggested it's working perfectly with a minimal change.
This is the definitively used rule set, in case it may help someone else.

-----------------------------------------------------------
###############################################################################
##  FILTER: Routing outgoing to ISP2
###############################################################################

pass in quick on $dmz_if from $dmz_net to $lan_net

pass in quick on $dmz_if route-to ($isp2_if $isp2_gw) \
   from $dmz_net to !$lan_net
   
pass in on $isp2_if reply-to ($isp2_if $isp2_gw) proto {tcp udp} \
   from any to $srv_web_001 port {http https}
-----------------------------------------------------------

Once again, thanks you Giancarlo.
-- 
View this message in context: http://www.nabble.com/select-outgoing-route-depending-on-souce-interface-%28net%29-tp1...
Sent from the openbsd user - misc mailing list archive at Nabble.com.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: select outgoing route depending on souce interface (net), Giancarlo Razzolini, (Wed Mar 5, 5:58 pm)
Re: select outgoing route depending on souce interface (net), Giancarlo Razzolini, (Thu Mar 6, 5:30 am)
Re: select outgoing route depending on souce interface (net), Giancarlo Razzolini, (Thu Mar 6, 5:10 pm)
Re: select outgoing route depending on souce interface (net), Jon Rubio, (Fri Mar 7, 7:01 am)