Nathan Callahan <[EMAIL PROTECTED]> wrote:
> I've got a problem which must be solved by tomorrow.
> 
> I need to be able to take all packets bound for a particular local 
> subnet (eg 192.168.100.0/24) and instead send them off (probably using 
> GRE encapsulation) to an internet address (eg 123.456.78.90) instead.
> 
> I cannot set up a VPN at the moment, it will be done in the near future.
> 
> If anyone has a good clue on this one, please tell me.

Do you have a linux box there with a 2.4 kernel?  (OR a 2.2, for
that matter).

I can think of a couple of methods.

1 - a slightly modified NAT setup - go do a search for "Rusty's firewalling howto"
        (I think it was - not this rusty, someone else ;-), or look in the archives
        from April or May I think where I posted some actual urls.  Those will
        tell you how to set up NAT - just modify the setup scripts to make the
        final destination 123.456.78.90 (as it were ;-) instead of anywhere.
        I think!  ;-)

2 - use (open)ssh to set up the vpn until your 'real' vpn is ready (but then,
        once its set up, why bother 'fixing' something that ain't broke? ;-)
        Again, I've not had to do this, but there are plenty of good howto's
        out there.  And I think I'd try this one first, as its been done before ;-)

rc


Rusty Carruth          Email:     [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825
ICBM: 33 20' 44"N   111 53' 47"W

Reply via email to