Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 10:01:37 -0700
From:      Chameleon <swen@wavefire.com>
To:        freebsd-questions@freebsd.org
Subject:   ipfw forwarding for a port
Message-ID:  <3.0.32.19990913100137.00b23b20@mail.wavefire.com>

next in thread | raw e-mail | index | archive | help
Sorry to bug anyone. I'm still learning FreeBSD (as i'm sure i will be doing for the next 30 years) and i'm having a problem with my network.


What i want to do is to ftp to my FreeBSD router and have the ftp program think its logged up to my NT box. This should be relitively easy, but i can't seem to get it to work.

As far as i know i should be using 'fwd' but everything i've tried hasn't worked.

should i use

ipfw add 300 fwd 10.13.13.69,21 tcp from any to 24.x.x.x 21 via ed0

??


internet

        ed0|--------|ed1      |-----------|

---------->| router |-------->| NT w/ ftp |

           |--------|         |-----------|


my ipfw as follows:


00100 1057339  796830758 divert 8668 ip from any to any via ed0

00100      68       3264 allow ip from any to any via lo0

00200       0          0 deny ip from any to 127.0.0.0/8

65000 2125558 1595251999 allow ip from any to any

65535       1        576 deny ip from any to any


any help with this would be greatly appreciated

Swen Kabis

<bold>~

-----BEGIN GEEK CODE BLOCK-----

GCS/O d-(+) s:+>:- a- C++++ UB++$>++++$ P+ L++>++++$ E--

W++(++) N+ o? K? w--- O- M-- V-- PS+ PE@ Y PGP t++ 5++ X

R* tv++ b+++(+) DI++ D+++ G++ e++ h---->$ r+++ x**

-----END GEEK CODE BLOCK-----</bold>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19990913100137.00b23b20>