|
To: |
cipe-l,AT,inka,DOT,de |
|
Subject: |
cipe-newbe |
|
From: |
John Carew <jon_carev,AT,yahoo,DOT,com> |
|
Date: |
Fri, 4 Jul 2003 02:40:53 -0700 (PDT) |
Hello. I have the folowing boxes.
Machine A
eth0: $real_ip1
eth1: 192.168.0.1(local network)
cipcb0: 10.0.0.1
/\
||
internet
||
\/
Machine B
eth0: real_ip
cipcb0: 10.0.0.2
I configured cipe for both boxes, and it works. Now i
want to make that all the traffic from machine A to
internet to pass through machine B, and then to go to
internet.
Something like that :if i access www.google.com from
machine A to pass
machineA->internet->machineB->www.google.com
.Something like machine B, to be a virtual gateway of
machine A. Or at least all the trafic from the local
network (192.168.0.1/24) to have this route to
internet. well, the traceroute shoud be like that for
a box from the local network (supposse 192.168.0.3)
192.168.0.3->192.168.0.1->10.0.0.1->10.0.0.2->ip_real2->
internet. Or something like that.
Any idea how can i do that? Thanks very much.
P.S. The configuration file otions.cipcb0 for both
macines is something like that
ptpaddr 10.0.0.2
ipaddr 10.0.0.1
me ip_real1:2304
peer ip_real2:2304
key xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks very much again.
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com