Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 12:33:48 -0700
From:      "Karan Gupta" <kgupta@edgefocus.com>
To:        <freebsd-isp@freebsd.org>
Subject:   RealVNC
Message-ID:  <00fd01c554ce$05c50000$442aa8c0@ping.co.la>

next in thread | raw e-mail | index | archive | help



Need help..have gone through google/docs but am still confused.
Im running,

FreeBSD aaa.bbb.com 4.9-RELEASE FreeBSD 4.9-RELEASE #4: =
aaa.bbb.com:/usr/src/sys/compile/GENERIC  i386

its acting as a router running NAT, IPFW and DHCP

INTERNET<------>fBSD<------>x.x.x.x(win2k machine running RealVNC server =
on the local network, it has a static IP)

a.a.a.a: is the ext_ip_fbsd
x.x.x.1: is the int_ip_fsd
x.x.x.x: Win2k on the local network running RealVNC server

I want to connect to the win2k machine from the internet.
i have natd.conf with=20
same_port yes
redirect_port tcp x.x.x.x:5800-5900 a.a.a.a:5800-5900
redirect_port udp x.x.x.x:5800-5900 a.a.a.a:5800-5900

###ipfw with#####
ipfw -f flush
##### rl0 is the ext interface #####
/sbin/natd -interface rl0 -s
ipfw add 999 divert natd all from any to any via rl0

I can get on the internet just fine, can ssh to the fBSD from the =
outside as well.
Heres the nmap output,
Port       State       Service
21/tcp     open        ftp
22/tcp     open        ssh
25/tcp     open        smtp
80/tcp     open        http
443/tcp    open        https
587/tcp    open        submission

I guess i need to open the ports on the firewall....nothing that i tried =
worked.

Any suggestions?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fd01c554ce$05c50000$442aa8c0>