Re: Set Up a server using Public IP Addresses on debian
On Sat, Jun 11, 2011 at 3:08 PM, Camaleón noela...@gmail.com wrote: On Sat, 11 Jun 2011 14:14:31 +0200, Christian Simo wrote: Hi all Sorry to response let! Please, keep the replies into the same thread, there is no need to open a new thread for every post :-) Sorry for that, I deleted by mistake the previous mails. I was busy with my ISP: please see below the NAT configuration for my Cisco Router done by my ISP: (...) Christian, having a computer connected to Internet 24 hours 365 days which provides remote services it can be very risky (and not only for you or your LAN but the whole of the Internet users) so I think you need first to get some of the basics about networking and routing to understand what is this all about and what do you need, at least for making your first tests. Thanks for this resume, in fact, I set up a network using class A 10.0.0.0: my LAN gateway is 10.0.0.2 n1.kom.co.za and ns2.kom.co.za are the hostnames for 10.0.0.80 and 10.0.0.82 this two debian machines are my DNS bind server. Please below the interfaces files congigurations: iface eth0 inet static address 10.0.0.80 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.2 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 196.28.80.139 196.28.80.140 dns-search ns1.kom.co.za ns2.kom.co.za iface eth0 inet static address 10.0.0.82 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.2 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 196.28.80.139 196.28.80.140 dns-search ns1.kom.co.za ns2.kom.co.za this below are my hosts files configurations for 10.0.0.80 and 10.0.0.82: 127.0.0.1 localhost 10.0.0.82 ns1.kom.co.za ns1 127.0.0.1 localhost 10.0.0.82 ns2.kom.co.za ns2 I dunno how can we help you if we don't know what is your network layout, what routers/gateways/modems do you have configured at your site and what tests are you doing right know. The routers is a Cisco provide by my ISP and I got 4 switch D-LINK on the network. I said before, I planed to have two DNS server one as primary on 10.0.0.80 and another as slave on 10.0.0.82 my router IP is 41.134.19.89, 10.0.0.80 pointing on 41.134.19.90 with port 53 open and 10.0.0.82 pointing on 41.134.19.91 with ports 53 and 80 open. See below my primary DNS configuration: *File: /etc/bind/named.conf.local;* zone kom.co.za IN { type master; file /var/cache/bind/master.kom.co.za; notify yes; }; zone 0.0.10.in-addr.arpa IN { type master; file /var/cache/bind/kom.co.za.inv; }; *File: /var/cache/bind/master.kom.co.za :* $ORIGIN kom.co.za. $TTL 861000 @ IN SOA ns1.kom.co.za.postmaster.kom.co.za. ( 2011061001 ; serial 3600; refresh 900 ; retry 1209600 ; expire 13200) ; default_TTL IN NS ns1.kom.co.za. IN NS ns2.kom.co.za. IN MX 10 mail.kom.co.za. ns1 IN A 10.0.0.80 ns2 IN A 10.0.0.82 www IN A 10.0.0.81 sql IN A 10.0.0.81 mailIN A 10.0.0.84 backup IN A 10.0.0.102 ftp IN CNAME www imapIN CNAME mail pop IN CNAME mail pop3IN CNAME mail smtpIN CNAME mail img IN CNAME www *File: /var/cache/bind/kom.co.za.inv* $ORIGIN 0.0.10.in-addr.arpa. $TTL 864000 @ IN SOA ns1.kom.co.za.postmaster.kom.co.za. ( 201105311 ; serial 3600; refresh 900 ; retry 1209600 ; expire 43200) ; default_TTL IN NS ns1.kom.co.za. IN NS ns2.kom.co.za. 10.0.0.80. IN PTR ns1.kom.co.za. 10.0.0.82. IN PTR ns2.kom.co.za. 10.0.0.101. IN PTR sql.kom.co.za. 10.0.0.102. IN PTR backup.kom.co.za. So please, let's concetrate in one service (dns server or http server or whatever you prefer) and now that your ISP has configured the routes to point to your local server you can start with your setup. So choose one service, configure it and put here any problems you have with that. When I tried to update kom.co.za domain from co.za. administrator domain, I received this errors: Syntax/Cross-Checking provided info for Nameserver at 6a: ns1.kom.co.za @ 41.134.19.90 IPv4: 41.134.19.90 == 41-134-19-90.dsl.mweb.co.za. FQDN: ns1.kom.co.za
Re: Set Up a server using Public IP Addresses on debian
On Sun, 12 Jun 2011 13:17:06 +0200, Christian Simo wrote: On Sat, Jun 11, 2011 at 3:08 PM, Camaleón noela...@gmail.com wrote: (...) I dunno how can we help you if we don't know what is your network layout, what routers/gateways/modems do you have configured at your site and what tests are you doing right know. The routers is a Cisco provide by my ISP and I got 4 switch D-LINK on the network. Okay, so the only adsl gateway is the Cisco, that is controlled by your ISP. I said before, I planed to have two DNS server one as primary on 10.0.0.80 and another as slave on 10.0.0.82 my router IP is 41.134.19.89, 10.0.0.80 pointing on 41.134.19.90 with port 53 open and 10.0.0.82 pointing on 41.134.19.91 with ports 53 and 80 open. See below my primary DNS configuration: (...) When I tried to update kom.co.za domain from co.za. administrator domain, I received this errors: Syntax/Cross-Checking provided info for Nameserver at 6a: ns1.kom.co.za @ 41.134.19.90 IPv4: 41.134.19.90 == 41-134-19-90.dsl.mweb.co.za. FQDN: ns1.kom.co.za == ERROR: Checking field 6a and running a Reverse check. ns1.kom.co.za not found in 41-134-19-90.dsl.mweb.co.za. ! Whilst checking field 6a on the application form and whilst running a Reverse check... ! you specified that 41.134.19.90 would map to ns1.kom.co.za, ! but DNS returned 41-134-19-90.dsl.mweb.co.za. What application is giving you that error? It seems like a problem with your assigned IPs and reverve dns resolution (rDNS) that points to your domain name. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.12.13.10...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Sun, Jun 12, 2011 at 3:10 PM, Camaleón noela...@gmail.com wrote: On Sun, 12 Jun 2011 13:17:06 +0200, Christian Simo wrote: On Sat, Jun 11, 2011 at 3:08 PM, Camaleón noela...@gmail.com wrote: (...) I dunno how can we help you if we don't know what is your network layout, what routers/gateways/modems do you have configured at your site and what tests are you doing right know. The routers is a Cisco provide by my ISP and I got 4 switch D-LINK on the network. Okay, so the only adsl gateway is the Cisco, that is controlled by your ISP. Yeah! I said before, I planed to have two DNS server one as primary on 10.0.0.80 and another as slave on 10.0.0.82 my router IP is 41.134.19.89, 10.0.0.80 pointing on 41.134.19.90 with port 53 open and 10.0.0.82 pointing on 41.134.19.91 with ports 53 and 80 open. See below my primary DNS configuration: (...) When I tried to update kom.co.za domain from co.za. administrator domain, I received this errors: Syntax/Cross-Checking provided info for Nameserver at 6a: ns1.kom.co.za @ 41.134.19.90 IPv4: 41.134.19.90 == 41-134-19-90.dsl.mweb.co.za. FQDN: ns1.kom.co.za == ERROR: Checking field 6a and running a Reverse check. ns1.kom.co.za not found in 41-134-19-90.dsl.mweb.co.za. ! Whilst checking field 6a on the application form and whilst running a Reverse check... ! you specified that 41.134.19.90 would map to ns1.kom.co.za, ! but DNS returned 41-134-19-90.dsl.mweb.co.za. What application is giving you that error? There is not application that giving me the problem, it's a *.CO.ZA Domain registrations *http://www.coza.net.za when I tried to update the domain kom.co.za, their (A .CO.ZA Domain registry) server sent me an Invalid Nameserver errors Telling that my name server (n1.kom.co.za and n2.kom.co.za) that I indicated as a Primary and Slave servers FQDN are not pointing on 41.134.19.90 and 41.134.19.91 but pointing on 41-134-19-90.dsl.mweb.co.za and 41-134-19-91.dsl.mweb.co.za http://41-134-19-90.dsl.mweb.co.za/ I even emailed to my ISP the errors and still waiting for their responses. what make me so strange is that I never login on the Cisco router to really see how the configuration looks. is it something's wrong with my Debian machine configurations? It seems like a problem with your assigned IPs and reverve dns resolution (rDNS) that points to your domain name. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.12.13.10...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Sun, 12 Jun 2011 15:32:09 +0200, Christian Simo wrote: On Sun, Jun 12, 2011 at 3:10 PM, Camaleón noela...@gmail.com wrote: ! Whilst checking field 6a on the application form and whilst running a Reverse check... ! you specified that 41.134.19.90 would map to ns1.kom.co.za, ! but DNS returned 41-134-19-90.dsl.mweb.co.za. What application is giving you that error? There is not application that giving me the problem, it's a *.CO.ZA Domain registrations *http://www.coza.net.za Uh? You mean the domain name registrar? when I tried to update the domain kom.co.za, their (A .CO.ZA Domain registry) server sent me an Invalid Nameserver errors Telling that my name server (n1.kom.co.za and n2.kom.co.za) that I indicated as a Primary and Slave servers FQDN are not pointing on 41.134.19.90 and 41.134.19.91 but pointing on 41-134-19-90.dsl.mweb.co.za and 41-134-19-91.dsl.mweb.co.za http://41-134-19-90.dsl.mweb.co.za/ I even emailed to my ISP the errors and still waiting for their responses. I'm afraid you will have to wait for their response. Or forget about this setup and try with another one (e.g., use an external free DNS service to resolve your domain, like DynDNS or such). If I correctly read the error message, your registrar needs that you domain name (n1.kom.co.za) is properly configured by the owner of the IPs, that is, your ISP. what make me so strange is that I never login on the Cisco router to really see how the configuration looks. That's not the usual setup in many countries and having the control of your router is very useful as you don't need to wait a response from your ISP for every change you want to do. is it something's wrong with my Debian machine configurations? Dunno, but one thing for sure: this is a complex setup. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.12.13.51...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Sun, Jun 12, 2011 at 3:51 PM, Camaleón noela...@gmail.com wrote: On Sun, 12 Jun 2011 15:32:09 +0200, Christian Simo wrote: On Sun, Jun 12, 2011 at 3:10 PM, Camaleón noela...@gmail.com wrote: ! Whilst checking field 6a on the application form and whilst running a Reverse check... ! you specified that 41.134.19.90 would map to ns1.kom.co.za, ! but DNS returned 41-134-19-90.dsl.mweb.co.za. What application is giving you that error? There is not application that giving me the problem, it's a *.CO.ZA Domain registrations *http://www.coza.net.za Uh? You mean the domain name registrar? Yeah! when I tried to update the domain kom.co.za, their (A .CO.ZA Domain registry) server sent me an Invalid Nameserver errors Telling that my name server (n1.kom.co.za and n2.kom.co.za) that I indicated as a Primary and Slave servers FQDN are not pointing on 41.134.19.90 and 41.134.19.91 but pointing on 41-134-19-90.dsl.mweb.co.za and 41-134-19-91.dsl.mweb.co.za http://41-134-19-90.dsl.mweb.co.za/ I even emailed to my ISP the errors and still waiting for their responses. I'm afraid you will have to wait for their response. Or forget about this setup and try with another one (e.g., use an external free DNS service to resolve your domain, like DynDNS or such). On Monday, If not yet response, I much resend the mails to them, Before decide to switch to the external DNS services. If I correctly read the error message, your registrar needs that you domain name (n1.kom.co.za) is properly configured by the owner of the IPs, that is, your ISP. what make me so strange is that I never login on the Cisco router to really see how the configuration looks. That's not the usual setup in many countries and having the control of your router is very useful as you don't need to wait a response from your ISP for every change you want to do. I don't know why there are doing like that, I has been waiting for their response since yesterday, the thing that I know now is that the IPs 41.134.19.90 and 41.134.19.91 are pointing to their hostnames is it something's wrong with my Debian machine configurations? Dunno, but one thing for sure: this is a complex setup. I know! Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.12.13.51...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Sat, 11 Jun 2011 14:14:31 +0200, Christian Simo wrote: Hi all Sorry to response let! Please, keep the replies into the same thread, there is no need to open a new thread for every post :-) I was busy with my ISP: please see below the NAT configuration for my Cisco Router done by my ISP: (...) Christian, having a computer connected to Internet 24 hours 365 days which provides remote services it can be very risky (and not only for you or your LAN but the whole of the Internet users) so I think you need first to get some of the basics about networking and routing to understand what is this all about and what do you need, at least for making your first tests. I dunno how can we help you if we don't know what is your network layout, what routers/gateways/modems do you have configured at your site and what tests are you doing right know. So please, let's concetrate in one service (dns server or http server or whatever you prefer) and now that your ISP has configured the routes to point to your local server you can start with your setup. So choose one service, configure it and put here any problems you have with that. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.11.13.08...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
Good Morning all eth0 it's not working so I'm using eth1! I asked to my ISP to open all ports at the moment! I also sent them a LAN IPs from 10.0.0.80 to 10.0.0.84 so that they can NAT to my public IPs 41.134.19.90 to 41.134.19.94: 10.0.0.80 41.134.19.90 10.0.0.81 41.134.19.91 10.0.0.82 41.134.19.92 10.0.0.83 41.134.19.93 10.0.0.84 41.134.19.94 With this new configuration, I'm confusing if am gonna plug my machines Debian directly to the Cisco router or just on my LAN? since 10.0.0.2 was NAT to 41.134.19.89, Can I have a computer on my LAN with that IP, because before it was my default gateway my billion router? On Wed, Jun 8, 2011 at 3:34 PM, nhadie ramos nha...@gmail.com wrote: i would suggest you troubleshoot your network first. if you have a laptop/pc, configure the IP to: IP Address 41.134.19.90 Subnet Mask 255.255.255.248 Default Gateway 41.134.19.89 then connect the laptop/pc directly to the router and ping 41.134.19.89 if 41.134.19.89 responds, try to ping an outside IP. if it does not work then you have to verify settings with your ISP. if all is ok plug your debian machine directly to the router. since you mentioned you assigned eth1 i am assuming you have 2 NICs. once you connect the server you need to check which eth has a link using mii-tool or ethtool. make sure eth1 has the link as you have configured the IP to eth1, once you have the link ping the gateway again and it should work. basically if the laptop/pc works but your debian does not, you are doing something wrong on your server. i'm thinking you are wrongly identifying which is eth0 and which is eth1. Hope this helps. On Wed, Jun 8, 2011 at 9:19 PM, Christian Simo csim...@gmail.com wrote: I don't have access to my Cisco router, only my ISP. When I ping for e.g 41.134.19.90 host, the destination is unreachable. I already contact them to configure the router from their are side On Wed, Jun 8, 2011 at 7:26 AM, kuLa deb...@kulisz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/06/11 19:28, Christian Simo wrote: Hi All Hi Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Please if someone can have an ideas, I'll really appreciate I read all posts in this thread and saw that nobody actually asked one very important question: What routing setup you've got on the router/gateway. in your case I would use following setup - --router (with pool of your ext. IP's and port/IP forwarding)--servers (in LAN with IP's from one of restricted ranges ex 192.168.0.0/24) so traffic into you web server could looks like - --41.134.19.89:80--192.168.0.23:80 it just depends from you what rules you'll going to set up - -- |_|0|_| | |_|_|0| Heghlu'Meh QaQ jajVam | |0|0|0| kuLa - | gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJN7wfqAAoJEOqHloDBALTKb0UH/jTKBZ+63Y1d9bRsMG3EQO5L gXfeb617X65iHBsafEGTumuHe6aRDncTzZBUCTtxxIhOOYbhWUF4xoSx+wktUAPh kVC2ZNZPMwq2hXPTYetYaZar5u/Vgu2K/jy2EraP2XsCThGiT4Io9+3pZX7AJujE Gf1PJxWXj66Qcv/WtCyDTZ8fnmaKI9Owfa4zThn38rg4IxP9X9hmAbxMUQyO/Ib9 Piku5YOiTSr33zqmlrc92OcPLI7OW+qZW1i3sWQwTqEtH81pDUAg5UfILXt2lk+r Hyj6K8SzJPeZ1Iiuza5WxvmKwyyVQyyYq13uNt2q1DNVbgBsQcORMNzZ6VH1LuQ= =mzlK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4def07ea.10...@kulisz.net
Re: Set Up a server using Public IP Addresses on debian
On Thu, 09 Jun 2011 09:42:38 +0200, Christian Simo wrote: Good Morning all eth0 it's not working so I'm using eth1! No problem, but why is not working? Device malfunction? I asked to my ISP to open all ports at the moment! Good! Well, sort of... You mean that all ports are now opened? Then you will have to setup a firewall on your facilities that drops the connections targeted to services you don't have enabled. This is very important because having all ports opened (like a DMZ) can be a security risk for your whole LAN. I also sent them a LAN IPs from 10.0.0.80 to 10.0.0.84 so that they can NAT to my public IPs 41.134.19.90 to 41.134.19.94: 10.0.0.80 41.134.19.90 10.0.0.81 41.134.19.91 10.0.0.82 41.134.19.92 10.0.0.83 41.134.19.93 10.0.0.84 41.134.19.94 With this new configuration, I'm confusing if am gonna plug my machines Debian directly to the Cisco router or just on my LAN? I'd say to your LAN because your LAN (switches and computers) should be connected _somehow_ (directly or indirectly) to the Cisco router, right? So Debian server (eth1) that is going to host your DNS and web server it should be configured with all those IP addresses (10.0.0.80-84). How many network interfaces does the server have? You can assign an IP to each interface (should you have 5 ethernet devices) or you can use an ethernet alias (one physical interface sharing several IP addresses). Or you can assing just one IP to the server and redistribute the rest to different computers. You can do many things :-) Why don't you write/draw a scheme of your network and send it to us? That will facilitate things a lot. since 10.0.0.2 was NAT to 41.134.19.89, Can I have a computer on my LAN with that IP, because before it was my default gateway my billion router? I'm afraid that IP will be your default gateway for all of your computers and you can't have two devices in the same network layer configured with the same IP. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.09.12.03...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Tue, Jun 07, 2011 at 08:58:23PM +0200, Christian Simo wrote: I wanna run DNS and Web Servers my ISP give to me a following IP: Router IP 41.134.19.89 Network Mask 41.134.19.88 255.255.255.248 Broadcast Address 41.134.19.95 Network Address 41.134.19.88 WAN IP Range 41.134.19.88/29 and another public IP as follow allocated to me : 41.134.19.90 41.134.19.91 41.134.19.92 41.134.19.93 41.134.19.94 It is my first time to use a public IP on the private network OK, You've been allocated a /29, this is 8 public IPs. As you note above, the first IP is the network address (.88), and the last is the broadcast address (.95). Other than this, the ISP expects your router to be on the second IP (.89). This is typical, and is similar to what my ISP gives me. So, what I would suggest you do is configure your machine as follows: iface eth0 inet static address 41.134.19.{90-94} # Pick one of your five free IPs netmask 255.255.255.248 network 41.134.19.88 broadcast 41.134.19.95 gateway 41.134.19.89 Next, and this is quite important, configure your router into Multi-IP mode. Most broadband routers expect you to have one IP and so will NAT anything that comes in. You will need to tell your router to pass through all traffic for your /29 block. How you do this depends on your router. -- Paul Saunders signature.asc Description: Digital signature
Re: Set Up a server using Public IP Addresses on debian
Hi after changed gateway to router IP (41.134.19.89), the command ifconfig it showing eth1 now but; ping doesn’t work The use of eth1 suggests that you have more than one Ethernet-port in your server (the first one usually is eth0). Are you sure you have plugged the cable into the correct port? When it's fine and dandy the port is shown as UP in ifconfig, like: eth0 Link encap:Ethernet HWaddr 52:54:00:e2:58:72 inet addr:X.Y.168.78 Bcast:X.Y.168.127 Mask:255.255.255.192 inet6 addr: 2001:X:Y:100:5054:ff:fee2:5872/64 Scope:Global inet6 addr: fe80::5054:ff:fee2:5872/64 Scope:Link inet6 addr: 2001:X:Y:100::78/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:60737 errors:0 dropped:0 overruns:0 frame:0 TX packets:24256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:40895939 (39.0 MiB) TX bytes:3110522 (2.9 MiB) -- Pelle RFC1925, truth 11: Every old idea will be proposed again with a different name and a different presentation, regardless of whether it works. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktinxv9p80pgajx5zmm_dqkpbztc9ax7pmbidtefzkha...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Tue, 07 Jun 2011 21:28:32 +0200, Christian Simo wrote: On 6/7/11, Camaleón noela...@gmail.com wrote: (...) It is my first time to use a public IP on the private network I would first ask your provider to check if it is possible to have the configuration you want with the service they provide. You have to be sure those IPs are properly routed to your gateway facility (your modem/ router) with no restrictions (I mean, that all ports are unfiltered/ opened and the gateway facility is completely manegeable by you, not your ISP). Alright! before send them a mail, i want to be sure that the configuration that I was doing are correct? Because really I'm confusing now! I can't tell if your setup is okay because I would need more data of your networking layout and what hardware components are involved. But basically what you need to tell your ISP is the same you are telling us, i.e., that you want to setup a DNS and web server over your assigned range of IPs. They will tell you what to do or in the event they directly manage the Cisco router, they'll open the required ports to redirect the traffic to your gateway. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.08.13.09...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
I don't have access to my Cisco router, only my ISP. When I ping for e.g 41.134.19.90 host, the destination is unreachable. I already contact them to configure the router from their are side On Wed, Jun 8, 2011 at 7:26 AM, kuLa deb...@kulisz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/06/11 19:28, Christian Simo wrote: Hi All Hi Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Please if someone can have an ideas, I'll really appreciate I read all posts in this thread and saw that nobody actually asked one very important question: What routing setup you've got on the router/gateway. in your case I would use following setup - --router (with pool of your ext. IP's and port/IP forwarding)--servers (in LAN with IP's from one of restricted ranges ex 192.168.0.0/24) so traffic into you web server could looks like - --41.134.19.89:80--192.168.0.23:80 it just depends from you what rules you'll going to set up - -- |_|0|_| | |_|_|0| Heghlu'Meh QaQ jajVam | |0|0|0| kuLa - | gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJN7wfqAAoJEOqHloDBALTKb0UH/jTKBZ+63Y1d9bRsMG3EQO5L gXfeb617X65iHBsafEGTumuHe6aRDncTzZBUCTtxxIhOOYbhWUF4xoSx+wktUAPh kVC2ZNZPMwq2hXPTYetYaZar5u/Vgu2K/jy2EraP2XsCThGiT4Io9+3pZX7AJujE Gf1PJxWXj66Qcv/WtCyDTZ8fnmaKI9Owfa4zThn38rg4IxP9X9hmAbxMUQyO/Ib9 Piku5YOiTSr33zqmlrc92OcPLI7OW+qZW1i3sWQwTqEtH81pDUAg5UfILXt2lk+r Hyj6K8SzJPeZ1Iiuza5WxvmKwyyVQyyYq13uNt2q1DNVbgBsQcORMNzZ6VH1LuQ= =mzlK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4def07ea.10...@kulisz.net
Re: Set Up a server using Public IP Addresses on debian
i would suggest you troubleshoot your network first. if you have a laptop/pc, configure the IP to: IP Address 41.134.19.90 Subnet Mask 255.255.255.248 Default Gateway 41.134.19.89 then connect the laptop/pc directly to the router and ping 41.134.19.89 if 41.134.19.89 responds, try to ping an outside IP. if it does not work then you have to verify settings with your ISP. if all is ok plug your debian machine directly to the router. since you mentioned you assigned eth1 i am assuming you have 2 NICs. once you connect the server you need to check which eth has a link using mii-tool or ethtool. make sure eth1 has the link as you have configured the IP to eth1, once you have the link ping the gateway again and it should work. basically if the laptop/pc works but your debian does not, you are doing something wrong on your server. i'm thinking you are wrongly identifying which is eth0 and which is eth1. Hope this helps. On Wed, Jun 8, 2011 at 9:19 PM, Christian Simo csim...@gmail.com wrote: I don't have access to my Cisco router, only my ISP. When I ping for e.g 41.134.19.90 host, the destination is unreachable. I already contact them to configure the router from their are side On Wed, Jun 8, 2011 at 7:26 AM, kuLa deb...@kulisz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/06/11 19:28, Christian Simo wrote: Hi All Hi Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Please if someone can have an ideas, I'll really appreciate I read all posts in this thread and saw that nobody actually asked one very important question: What routing setup you've got on the router/gateway. in your case I would use following setup - --router (with pool of your ext. IP's and port/IP forwarding)--servers (in LAN with IP's from one of restricted ranges ex 192.168.0.0/24) so traffic into you web server could looks like - --41.134.19.89:80--192.168.0.23:80 it just depends from you what rules you'll going to set up - -- |_|0|_| | |_|_|0| Heghlu'Meh QaQ jajVam | |0|0|0| kuLa - | gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJN7wfqAAoJEOqHloDBALTKb0UH/jTKBZ+63Y1d9bRsMG3EQO5L gXfeb617X65iHBsafEGTumuHe6aRDncTzZBUCTtxxIhOOYbhWUF4xoSx+wktUAPh kVC2ZNZPMwq2hXPTYetYaZar5u/Vgu2K/jy2EraP2XsCThGiT4Io9+3pZX7AJujE Gf1PJxWXj66Qcv/WtCyDTZ8fnmaKI9Owfa4zThn38rg4IxP9X9hmAbxMUQyO/Ib9 Piku5YOiTSr33zqmlrc92OcPLI7OW+qZW1i3sWQwTqEtH81pDUAg5UfILXt2lk+r Hyj6K8SzJPeZ1Iiuza5WxvmKwyyVQyyYq13uNt2q1DNVbgBsQcORMNzZ6VH1LuQ= =mzlK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4def07ea.10...@kulisz.net
Re: Set Up a server using Public IP Addresses on debian
What did you try? And where are those ip adresses connected to? The router? Individual servers? A single link? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTimkLk=jjzi9xdsw_jnyhn1nh2n...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
On 06/07/11 at 08:28pm, Christian Simo wrote: Hi All Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Please provide some details. Do you receive error messages? What do your interfaces files look like? What's the output from ping attempts, netstat -rn, ifconfig? -- Liam signature.asc Description: Digital signature
Re: Set Up a server using Public IP Addresses on debian
Thank you for your response, this is my /etc/network/interfaces iface eth1 inet static address 41.134.19.90 netmask 255.255.255.248 broadcast 41.134.19.95 gateway 10.0.0.2 the above IP addresses are set up on one of my computer on my LAN The IP address 41.134.19.89 is in my cisco router On 6/7/11, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: What did you try? And where are those ip adresses connected to? The router? Individual servers? A single link? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTimkLk=jjzi9xdsw_jnyhn1nh2n...@mail.gmail.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktimew6dk1-prsuk+4wpxszyktig...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Tue, 07 Jun 2011 20:28:23 +0200, Christian Simo wrote: Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Those configurations tend to be very ISP specific. We also get some static IPs from ourISP and have configured it to be public and accesable from Internet using the FTTH router capabilities (nated routing) but YMMV *a lot*. The more details you provide about your devices and setup (what kind of services do you want to be routed to your local lan, e.g., a web server, e-mail server...?), the better. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.07.18.46...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
2011/6/7 Christian Simo csim...@gmail.com: iface eth1 inet static address 41.134.19.90 netmask 255.255.255.248 broadcast 41.134.19.95 gateway 10.0.0.2 the above IP addresses are set up on one of my computer on my LAN Isn't this a node in a LAN, with a public IP address? You either have very weird router configurations or that node is receiving nothing. The public IPs should be in devices facing the internet, not in LAN devices. -- Mars 2 Stay! http://xkcd.com/801/ /etc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikeocp8k4+ycgpuou8pt3n7_s7...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
I wanna run DNS and Web Servers my ISP give to me a following IP: Router IP 41.134.19.89 Network Mask 41.134.19.88 255.255.255.248 Broadcast Address 41.134.19.95 Network Address 41.134.19.88 WAN IP Range 41.134.19.88/29 and another public IP as follow allocated to me : 41.134.19.90 41.134.19.91 41.134.19.92 41.134.19.93 41.134.19.94 It is my first time to use a public IP on the private network On 6/7/11, Camaleón noela...@gmail.com wrote: On Tue, 07 Jun 2011 20:28:23 +0200, Christian Simo wrote: Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Those configurations tend to be very ISP specific. We also get some static IPs from ourISP and have configured it to be public and accesable from Internet using the FTTH router capabilities (nated routing) but YMMV *a lot*. The more details you provide about your devices and setup (what kind of services do you want to be routed to your local lan, e.g., a web server, e-mail server...?), the better. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.07.18.46...@gmail.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikd3m5htwz1f0_zeoce9yp7bzk...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
On 6/7/11, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: 2011/6/7 Christian Simo csim...@gmail.com: iface eth1 inet static address 41.134.19.90 netmask 255.255.255.248 broadcast 41.134.19.95 gateway 10.0.0.2 the above IP addresses are set up on one of my computer on my LAN Isn't this a node in a LAN, with a public IP address? You either have very weird router configurations or that node is receiving nothing. The public IPs should be in devices facing the internet, not in LAN devices So It's meaning that I should run for example my DNS server on the LAN? What about those another IPs public assigned to me? It make me confuse a lot! -- Mars 2 Stay! http://xkcd.com/801/ /etc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikeocp8k4+ycgpuou8pt3n7_s7...@mail.gmail.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktindum_lgocng1gj-gmn35cezfd...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
On 06/07/11 at 08:39pm, Christian Simo wrote: Thank you for your response, this is my /etc/network/interfaces iface eth1 inet static address 41.134.19.90 netmask 255.255.255.248 broadcast 41.134.19.95 gateway 10.0.0.2 Change 'gateway' to be your router IP. Let us know what happens. -- Liam signature.asc Description: Digital signature
Re: Set Up a server using Public IP Addresses on debian
On 6/7/11, William Hopkins we.hopk...@gmail.com wrote: On 06/07/11 at 08:39pm, Christian Simo wrote: Thank you for your response, this is my /etc/network/interfaces iface eth1 inet static address 41.134.19.90 netmask 255.255.255.248 broadcast 41.134.19.95 gateway 10.0.0.2 Change 'gateway' to be your router IP. Let us know what happens. after changed gateway to router IP (41.134.19.89), the command ifconfig it showing eth1 now but; ping doesn’t work -- Liam -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTi=yNTg_62=xyvik8kwn9ut3hb+...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
On Tue, 07 Jun 2011 20:58:23 +0200, Christian Simo wrote: On 6/7/11, Camaleón noela...@gmail.com wrote: (...) The more details you provide about your devices and setup (what kind of services do you want to be routed to your local lan, e.g., a web server, e-mail server...?), the better. I wanna run DNS and Web Servers my ISP give to me a following IP: Router IP 41.134.19.89 Network Mask 41.134.19.88 255.255.255.248 Broadcast Address 41.134.19.95 Network Address 41.134.19.88 WAN IP Range 41.134.19.88/29 and another public IP as follow allocated to me : 41.134.19.90 41.134.19.91 41.134.19.92 41.134.19.93 41.134.19.94 Those IPs seem to be from Mweb ISP. Do you have this plan with a Cisco router? http://www.mweb.co.za/productspricing/Portals/19/Pdf/ADSL%20Uncapped30052011.pdf It is my first time to use a public IP on the private network I would first ask your provider to check if it is possible to have the configuration you want with the service they provide. You have to be sure those IPs are properly routed to your gateway facility (your modem/ router) with no restrictions (I mean, that all ports are unfiltered/ opened and the gateway facility is completely manegeable by you, not your ISP). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.07.19.17...@gmail.com
Re: Set Up a server using Public IP Addresses on debian
On 6/7/11, Camaleón noela...@gmail.com wrote: On Tue, 07 Jun 2011 20:58:23 +0200, Christian Simo wrote: On 6/7/11, Camaleón noela...@gmail.com wrote: (...) The more details you provide about your devices and setup (what kind of services do you want to be routed to your local lan, e.g., a web server, e-mail server...?), the better. I wanna run DNS and Web Servers my ISP give to me a following IP: Router IP 41.134.19.89 Network Mask 41.134.19.88 255.255.255.248 Broadcast Address 41.134.19.95 Network Address 41.134.19.88 WAN IP Range 41.134.19.88/29 and another public IP as follow allocated to me : 41.134.19.90 41.134.19.91 41.134.19.92 41.134.19.93 41.134.19.94 Those IPs seem to be from Mweb ISP. Do you have this plan with a Cisco router? Yeah! there are from Mweb ISP. It is a 4Mb speed with Cisco router. there was given me details part by part I mean after many upset mail send to them. http://www.mweb.co.za/productspricing/Portals/19/Pdf/ADSL%20Uncapped30052011.pdf It is my first time to use a public IP on the private network I would first ask your provider to check if it is possible to have the configuration you want with the service they provide. You have to be sure those IPs are properly routed to your gateway facility (your modem/ router) with no restrictions (I mean, that all ports are unfiltered/ opened and the gateway facility is completely manegeable by you, not your ISP). Alright! before send them a mail, i want to be sure that the configuration that I was doing are correct? Because really I'm confusing now! Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.07.19.17...@gmail.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTiknPBWCe=vtzxhpmmruj0iqaps...@mail.gmail.com
Re: Set Up a server using Public IP Addresses on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/06/11 19:28, Christian Simo wrote: Hi All Hi Please I got an internet with 6 fixed IP addresses, one on my cisco router and another 5 that I want to use them as IP addresses for my servers on my LAN so that those servers can be accessible on internet side. Want I tried to configure, it don't connect to internet! Please if someone can have an ideas, I'll really appreciate I read all posts in this thread and saw that nobody actually asked one very important question: What routing setup you've got on the router/gateway. in your case I would use following setup - --router (with pool of your ext. IP's and port/IP forwarding)--servers (in LAN with IP's from one of restricted ranges ex 192.168.0.0/24) so traffic into you web server could looks like - --41.134.19.89:80--192.168.0.23:80 it just depends from you what rules you'll going to set up - -- |_|0|_| | |_|_|0| Heghlu'Meh QaQ jajVam | |0|0|0| kuLa - | gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJN7wfqAAoJEOqHloDBALTKb0UH/jTKBZ+63Y1d9bRsMG3EQO5L gXfeb617X65iHBsafEGTumuHe6aRDncTzZBUCTtxxIhOOYbhWUF4xoSx+wktUAPh kVC2ZNZPMwq2hXPTYetYaZar5u/Vgu2K/jy2EraP2XsCThGiT4Io9+3pZX7AJujE Gf1PJxWXj66Qcv/WtCyDTZ8fnmaKI9Owfa4zThn38rg4IxP9X9hmAbxMUQyO/Ib9 Piku5YOiTSr33zqmlrc92OcPLI7OW+qZW1i3sWQwTqEtH81pDUAg5UfILXt2lk+r Hyj6K8SzJPeZ1Iiuza5WxvmKwyyVQyyYq13uNt2q1DNVbgBsQcORMNzZ6VH1LuQ= =mzlK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4def07ea.10...@kulisz.net