Quines IPs tens a la LAN? Quina es la IP del gateway (router inalambric)? J
2007/9/25, Marc Serra <[EMAIL PROTECTED]>: > Bé, no sé si he fet bé, però m'he carregat les regles sobre tcp que genera > l'unsolclic i tampoc anava bé, al final he trobat que redirigia amb nat > malament els ports, un exemple de com fer-ho: > > ip firewall nat add chain=dstnat dst-address=10.138.71.41 protocol=udp > dst-port=6969 action=dst-nat to-addresses=172.26.0.200 to-ports=6969 > > Ara faltarà treure del mig la interfície web del routeros, per a poder donar > sortida al meu servidor web. > > El Tuesday 25 September 2007 19:22:44 Marc Serra va escriure: > > Al programa de dc ja està configurat, però diria que és cosa d'enrutament > > de ports... provo d'entrar des d'un proxy a la meva ip 10.138.71.41 i no > > surt el servidor web, està en virtual server però hauria de mostrar el > > default al menys. > > > > A veure si ho podeu provar d'entrar directament, si dona un timeout és que > > està mal configurat el firewall del router >< > > > > El Tuesday 25 September 2007 17:07:07 carles.bruguera va escriure: > > > En principi qualsevol port hauria de funcionar, pero apart de mapejarlo > > > al router l'has de configurar be al programa dc > > > > > > En/na Marc Serra ha escrit: > > > > M'he mapejat o això he intentat, un port alternatiu, ha de ser el que > > > > dius per força? > > > > > > > > Et poso la confi del meu router a veure si ho he fet bé. Aquí va la > > > > configuració nat: > > > > > > > > Flags: X - disabled, I - invalid, D - dynamic > > > > 0 chain=srcnat out-interface=wlan1 action=masquerade > > > > > > > > 1 ;;; Port per el servidor opennap > > > > chain=dstnat dst-address=172.26.0.2 protocol=tcp src-port=8888 > > > > dst-port=8888 action=accept > > > > > > > > 2 ;;; Port per el servidor web > > > > chain=dstnat dst-address=172.26.0.2 protocol=tcp src-port=80 > > > > dst-port=80 action=accept > > > > > > > > 3 ;;; Port per el servidor web segur > > > > chain=dstnat dst-address=172.26.0.2 protocol=tcp src-port=443 > > > > dst-port=443 action=accept > > > > > > > > 4 ;;; Port per a altres programes > > > > chain=dstnat dst-address=172.26.0.2 protocol=tcp src-port=6699 > > > > dst-port=6699 action=accept > > > > > > > > 5 ;;; Port per l'icecast > > > > chain=dstnat dst-address=172.26.0.2 protocol=tcp src-port=8000 > > > > dst-port=8000 action=accept > > > > > > > > 6 ;;; port upd per fer el que sigui > > > > chain=dstnat dst-address=172.26.0.200 protocol=udp src-port=6969 > > > > dst-port=6969 action=accept > > > > > > > > I aquí la dels filtres: > > > > > > > > 0 ;;; Allow Established connections > > > > chain=input connection-state=established action=accept > > > > > > > > 1 ;;; Allow UDP > > > > chain=input protocol=udp action=accept > > > > > > > > 2 ;;; Allow access to router from know network > > > > chain=input src-address=172.26.0.0/16 action=accept > > > > > > > > 3 ;;; Allow remote winbox > > > > chain=input protocol=tcp dst-port=8291 action=accept > > > > > > > > 4 ;;; Allow remote ssh > > > > chain=input protocol=tcp dst-port=22 action=accept > > > > > > > > 5 ;;; Allow snmp > > > > chain=input protocol=udp dst-port=161 action=accept > > > > > > > > 6 ;;; Allow ping > > > > chain=input protocol=icmp action=accept > > > > > > > > 7 ;;; Allow already established connections > > > > chain=forward connection-state=established action=accept > > > > > > > > 8 ;;; Allow related connections > > > > chain=forward connection-state=related action=accept > > > > > > > > 9 ;;; Allow access to router from known network > > > > chain=forward src-address=172.26.0.0/16 action=accept > > > > > > > > 10 chain=input protocol=tcp connection-state=invalid action=drop > > > > > > > > 11 ;;; Drop invalid connections > > > > chain=forward protocol=tcp connection-state=invalid action=drop > > > > > > > > 12 ;;; Drop anything else > > > > chain=forward action=drop > > > > > > > > 13 ;;; Drop anything else > > > > chain=input action=drop > > > > > > > > > > > > No sé si em podrieu fer un telnet al port 6969 de la meva ip > > > > 10.138.71.41 a veure que en surt. > > > > > > > > Dir que a l'estar radera nat li dic al client que forci la seva ip a > > > > 10.138.71.41, tot i que ho he provat sense i passa el mateix. > > > > > > > > El Tuesday 25 September 2007 14:55:49 carles.bruguera va escriure: > > > >> MM, no deu ser que no el tens ben mapejat tu el port? has de tenir el > > > >> 1472 mapejat a la teva ip privada. Si vas amb ip publica, mira que no > > > >> tinguis algun firewall. Això ho explica al manual de conexio al hub. > > > >> > > > >> En/na Marc Serra ha escrit: > > > >>> Al final m'he pogut connectar amb el linuxdcpp, gràcies. > > > >>> > > > >>> Però demano a els dos que hi ha al hub la seva llista i em donen > > > >>> timeouts, i no sé si és perquè no tenen un port mapejat o que :S > > > >>> > > > >>> El Tuesday 25 September 2007 11:35:27 Lluís Dalmau va escriure: > > > >>>> El DC++ http://linuxdcpp.berlios.de > > > >>>> > > > >>>> És als repositoris i s'instal·la fàcilment. > > > >>>> > > > >>>>> Ara sí que m'ha deixat, ahir podia fer pings a utopia però no podia > > > >>>>> connectar > > > >>>>> al hub :S > > > >>>>> > > > >>>>> Per cert, Lluís, quin programa fas servir per al DC sota linux? > > > >>>>> Perquè he provat el qt_dc i deixa molt que dessitjar. El lopster2 > > > >>>>> encara està en fase > > > >>>>> experimental (he compilat el codi del cvs i no està implementat > > > >>>>> encara o falla alguna cosa). > > > >>>>> > > > >>>>> Sé que el dc++ es pot fer còrrer sota wine, però prefereixo fer > > > >>>>> còrrer alguna > > > >>>>> cosa nativa i no estic al dia de les alternatives. > > > >>>>> > > > >>>>> El Tuesday 25 September 2007 10:07:24 Lluís Dalmau va escriure: > > > >>>>>>> Bones, hi ha cap servidor p2p funcionant ara mateix? He provat el > > > >>>>>>> dcc (els programes que el suporten en linux són....) i no podia > > > >>>>>>> connectar > > > >>>>>> > > > >>>>>> a > > > >>>>>> > > > >>>>>>> utopia.guifi.net > > > >>>>>> > > > >>>>>> utopia funciona correctament ! > > > >>>>>> > > > >>>>>> utopia.guifi.net:4747 > > > >>>>>> 10.138.5.200:4747 > > > >>>>>> > > > >>>>>> _______________________________________________ > > > >>>>>> guifi-usuaris mailing list > > > >>>>>> guifi-usuaris@llistes.projectes.lafarga.org > > > >>>>>> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/gui > > > >>>>>>fi -u su ari s > > > >>>>> > > > >>>>> _______________________________________________ > > > >>>>> guifi-usuaris mailing list > > > >>>>> guifi-usuaris@llistes.projectes.lafarga.org > > > >>>>> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guif > > > >>>>>i- us ua ris > > > >>>> > > > >>>> Lluís > > > >>>> > > > >>>> _______________________________________________ > > > >>>> guifi-usuaris mailing list > > > >>>> guifi-usuaris@llistes.projectes.lafarga.org > > > >>>> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi > > > >>>>-u su ari s > > > >>> > > > >>> _______________________________________________ > > > >>> guifi-usuaris mailing list > > > >>> guifi-usuaris@llistes.projectes.lafarga.org > > > >>> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi- > > > >>>us ua ris > > > >> > > > >> _______________________________________________ > > > >> guifi-usuaris mailing list > > > >> guifi-usuaris@llistes.projectes.lafarga.org > > > >> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi-u > > > >>su ari s > > > > > > > > _______________________________________________ > > > > guifi-usuaris mailing list > > > > guifi-usuaris@llistes.projectes.lafarga.org > > > > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi-us > > > >ua ris > > > > > > _______________________________________________ > > > guifi-usuaris mailing list > > > guifi-usuaris@llistes.projectes.lafarga.org > > > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi-usua > > >ri s > > > > _______________________________________________ > > guifi-usuaris mailing list > > guifi-usuaris@llistes.projectes.lafarga.org > > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi-usuari > >s > > > > _______________________________________________ > guifi-usuaris mailing list > guifi-usuaris@llistes.projectes.lafarga.org > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi-usuaris > >
_______________________________________________ guifi-usuaris mailing list guifi-usuaris@llistes.projectes.lafarga.org https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/guifi-usuaris