View previous topic :: View next topic |
Author |
Message |
inetman n00b
Joined: 09 Dec 2002 Posts: 24
|
Posted: Mon Dec 09, 2002 4:33 pm Post subject: Xinetd ignoriert redirect services |
|
|
ich habe xinetd auf meinem gateway pc installiert und wollte nun alles was an port 4662 (edonkey) ankommt an nen rechner innerhalb des lans forwarden.
meine /etc/xinet.d/donkey-tcp sieht wie folgt aus:
Code: |
service edonkey_relay
{
id = donkey
port = 4662
socket_type = stream
protocol = tcp
user = root
redirect = 10.1.1.3 4662
type = UNLISTED
wait = no
disable = no
}
|
xinetd startet zwar, stürtzt jedoch gleich wieder ab, hier die debug ausgabe:
Code: |
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-tcp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-udp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-tcp [line=14]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-udp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-tcp [line=14]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-udp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/edonkey-tcp [line=14]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-tcp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-udp [line=13]
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing chargen
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing chargen
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing daytime
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing daytime
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing echo
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing echo
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing time
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing time
Service defaults
Instances = 60
CPS = max conn:25 wait:30
Bind = All addresses.
Only from: localhost(HOST)
No access: No blocked sites
Logging to syslog. Facility = authpriv, level = info
Log_on_success flags = HOST PID
Log_on_failure flags = HOST
03/12/9@17:34:46: DEBUG: {cnf_start_services} mask_max = 0, services_started = 0
03/12/9@17:34:46: CRITICAL: {init_services} no services. Exiting...
|
hoffentlich findet sich jemand, der mir helfen kann,
mfg
Inetman[/i] |
|
Back to top |
|
|
kannX Tux's lil' helper
Joined: 21 Jul 2002 Posts: 76
|
Posted: Mon Dec 09, 2002 5:30 pm Post subject: |
|
|
Also mit deinem eigentlichen Problem kann ich dir leider nicht weiterhelfen, aber wie wäre es mit iptables:
Code: |
iptables -A PREROUTING -t nat -p all -i ippp0 --dport 4662 -j DNAT --to 10.1.1.3:4662
|
(davon ausgehend das ippp0 das Verbindungsdevice des Servers zum INet ist) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|