This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem port forwarding

Hi to all,

( Excuse for my english but i don't write and speak english very well...)

I have a home lan and my configuration of astaro is:
 eth0 (external interface) to pppoe modem
 eth1 (internal interface ) 192.168.0.2 no gatway
 filter: any any any Accept ( yes is not secure )
 maquerating: localnet -> External interface

ok, now i have create 2 servicies:
emule-tcp:  TCP  S-port-> 1024:65536    D-port:4662
emule-tcp:  UDP  S-port-> 1024:65536    D-port:4672

i have create a new host name: Ettore -> 192.168.0.20

next i have create a new rules:
D-nat/S-nat -> 
 any source
 External interface
 service emule-tcp
 same source 
 change destination to Ettore
 same service

D-nat/S-nat -> 
 any source
 External interface
 service emule-udp
 same source 
 change destination to Ettore
 same service

Ok now i activate on Ettore the program witch uses emule-tcp and emule-udp ports and on another pc ( not in lan but on internet through another connection ) i have telnet the firewall non same port... the result is connection timeout....

where i have wrong?

Thanks to all.  


This thread was automatically locked due to age.
Parents
  • 'Any Any allow' only matches in your forward chain, but the packet is destined to your external IP-address, so the 'any any allow' rule does not match. I don´t know, if port 4800 is emule or not, but you can easily figure it out by looking at the IP-address of the source packet. If it is an emule server, make a packet filter and a DNAT to your inside server.  
  • The 4800 is the web interface of emule client of Windows PC ( 4662 and 4672 for highID server connect )
    The client configuration is ok because before reinstall Astaro It work with no problem. (... email configuration autobackup are deleted.... )
    I don't have any ideas if it not work... the astaro configuration are same of previews install (... i think....).  
  • Ok... i have do many test, the external request arrive into astaro and forward to internal client but the client response non arrive to firewall... now... i think the problem is in the masquerating chain... but i don't have any solution to resolve the problem.... 
  • The problem is in the 4.0.17 up2date.
    I have reinstalled astaro ad all work, i have up2date from 4.0.1 to 4.0.16 and all work after install 4.0.17 the port forwarding not work. I have tried to backup configuration but no success. Now i'm going to reinstall Astaro... (4-5 times i not remember) and not up2date 4.0.17... 
Reply
  • The problem is in the 4.0.17 up2date.
    I have reinstalled astaro ad all work, i have up2date from 4.0.1 to 4.0.16 and all work after install 4.0.17 the port forwarding not work. I have tried to backup configuration but no success. Now i'm going to reinstall Astaro... (4-5 times i not remember) and not up2date 4.0.17... 
Children
No Data