🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #9463

redirect_port nie działa

#9463
From: Jarek
Date: Fri, 01 Jul 2005 09:48
37 lines
2083 bytes
Witam 
Nie działa mi przekierowanie ruchu na serwer w LAN z maszynki, która pełni 
wyłącznie rolę routera (FreeBSD 4.11 Rel.). 
W /etc/rc.conf mam: 

# -- sysinstall generated deltas -- # Thu May 5 14:37:14 2005 
# Created: Thu May 5 14:37:14 2005 
# Enable network daemons for user convenience. 
# Please make all changes to this file, not to /etc/defaults/rc.conf. 
# This file now contains just the overrides from /etc/defaults/rc.conf. 
ifconfig_ep0="inet tu_publiczne_ip netmask 255.255.255.252" 
ifconfig_ep1="inet 192.168.0.200 netmask 255.255.255.0" 
defaultrouter="tu_ip_ISP" 
hostname="gateway.domainport" 
gateway_enable="YES" 
firewall_enable="YES" 
firewall_type="/usr/local/etc/firewall" 
natd_enable="YES" 
natd_interface="ep0" 
natd_flags=”-redirect_port tcp 192.168.0.1:443 443 –redirect_port tcp 
192.168.0.1:8009 8009” 
inetd_enable="NO" 
named_enable="NO" 
kern_securelevel_enable="NO" 
nfs_reserved_port_only="YES" 
saver="warp" 
blanktime="180" 
sendmail_enable="NONE" 
sshd_enable="YES" 

Niestety jak daję https://tu_ip_routerka:8009/ to kicha. Pewnie coś skopałem, 
ale co..? Dodanie we flagach protokołu UDP nie pomaga. 

pozdrawiam

-- 
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Technical Details
Message-ID: <663a.000013b4.42c51187@newsgate.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl
From: "Jarek" <sims1WYTNIJTO@op.pl>
Newsgroups: pl.comp.os.bsd
Subject: redirect_port nie działa
Date: 1 Jul 2005 11:48:55 +0200
Organization: Onet.pl SA
Lines: 37
Message-ID: <663a.000013b4.42c51187@newsgate.onet.pl>
NNTP-Posting-Host: newsgate.onet.pl
Mime-Version: 1.0
X-Trace: newsgate.test.onet.pl 1120211335 13658 213.180.130.18 (1 Jul 2005 09:48:55 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 1 Jul 2005 09:48:55 GMT
X-Mailer: http://niusy.onet.pl
X-Forwarded-For: 213.158.204.30, 192.168.243.39
X-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;    .NET CLR 1.1.4322)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit