At 02:21 PM 4/11/02 +0300, you wrote:
in caz ca are cineva rabdare sa citeasca:
sistemul pe care trebuie sa fac port forw. este un openbsd 3.0.

                                 # sysctl -A net.inet.ip.forwarding
                                 net.inet.ip.forwarding = 1

interfata externa rl0 192.168.0.2
interfata interna rl1  x.x.x.x

acum am in nat.conf
nat on rl0 from 192.168.0.0/24 to any -> x.x.x.x[ip rutabil] care se pare 
ca are efect adica face nat,
rdr on rl0 proto tcp from any to 62.231.67.11/32 port 25 -> 192.168.0.1 port 25

# pfctl -s nat
@nat on rl0 from 192.168.0.0/24 to any -> x.x.x.x [ok]
@rdr on rl0 proto tcp from any to x.x.x.x/32 port 25 -> 192.168.0.1 port 25

o sesiune telnet pe portul respectiv din internet arata cam asha:
telnet x.x.x.x 25
Trying x.x.x.x ...

unde gresesc ?!

va multumesc,



>ipfw
>  options IPFIREWALL_FORWARD in kernel
>  ipfw add 1 fwd 10.0.0.1,8080 tcp from any to any 80 out xmit ed0
>
>sau ipnat
>  rdr ed0 any port 80 -> 10.0.0.1 port 8080 tcp
>
>--------------------------------------
>Catalin Macsim    Phone:    092-756838
>Network Coordonator - Nordnet Botosani
>Network Administrator - Petar Software
>
>On Thu, 11 Apr 2002, Bogdan BUNECI wrote:
>
> >
> > salut.
> > poate cineva sa se laude cu un port forward pe bsd ???
> > netbsd sau openbsd ?!
> > am ajuns la concluzia ca nu se poate face.
> >
> > Bogdan BUNECI
> > Network Administrator
> > Mercury Promotions SRL
> > Tel: +40-1-2107402
> >
> >
> > __________________________________________________________
> > Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe
> >
> >
>
>__________________________________________________________
>Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe

Bogdan BUNECI
Network Administrator
Mercury Promotions SRL
Tel: +40-1-2107402


__________________________________________________________
Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe

Raspunde prin e-mail lui