ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Firewall Configuration with new change

    Scheduled Pinned Locked Moved IT Discussion
    centos 6.5
    62 Posts 6 Posters 13.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thanksajdotcomT
      thanksajdotcom @Lakshmana
      last edited by

      @Lakshmana said:

      @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

      @scottalanmiller said:

      @thanksajdotcom said:

      Ok, is the purpose of the firewall supposed to be for setting up a site-to-site VPN? That's what it sounds like to me.

      Oh this is going to get confusing very quickly. I don't see anything that suggests this. What part of his description made you feel that he wanted this?

      His diagram. It looks like he's trying to connect to other workstations.

      1 Reply Last reply Reply Quote 0
      • thanksajdotcomT
        thanksajdotcom @scottalanmiller
        last edited by

        @scottalanmiller said:

        Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

        Dang it you beat me to it.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Lakshmana
          last edited by

          @Lakshmana said:

          @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

          SSH is open by default. I'm not sure what you mean access LAN from WAN unless you mean SSH tunneling?

          thanksajdotcomT 1 Reply Last reply Reply Quote 0
          • thanksajdotcomT
            thanksajdotcom
            last edited by

            @scottalanmiller is right. You need to forward external port 22 to internal port 22 on a specific IP. That is totally different and a firewall and every router pretty much in existence can do a basic port forward.

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by

              @scottalanmiller said:

              Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

              On port 22.

              thanksajdotcomT 1 Reply Last reply Reply Quote 0
              • thanksajdotcomT
                thanksajdotcom @A Former User
                last edited by

                @thecreativeone91 said:

                @Lakshmana said:

                @thanksajdotcom This firewall is just to access the LAN from WAN to connect SSH ports

                SSH is open by default. I'm not sure what you mean access LAN from WAN unless you mean SSH tunneling?

                Port forwarding.

                1 Reply Last reply Reply Quote 0
                • thanksajdotcomT
                  thanksajdotcom @Dashrender
                  last edited by

                  @Dashrender said:

                  @scottalanmiller said:

                  Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                  On port 22.

                  Right. You can forward different external ports to internal port 22 on different IPs. That's another way to do it.

                  LakshmanaL ? scottalanmillerS 3 Replies Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @thanksajdotcom
                    last edited by

                    @thanksajdotcom said:

                    nother way to do it.

                    Can you explain how to do it in Ceentos in minimal mode?

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @thanksajdotcom
                      last edited by

                      @thanksajdotcom said:

                      @Dashrender said:

                      @scottalanmiller said:

                      Also, this is relatively complicated, because of technical reasons I'm not going to go into to save on confusion, but you cannot "open" a port on a firewall like this. You have to "port forward". So you have to know the IP Address to which you want Port 22 (SSH) to be forwarded. Only one machine on the LAN can have SSH accessed from the WAN.

                      On port 22.

                      Right. You can forward different external ports to internal port 22 on different IPs. That's another way to do it.

                      Too much work. Too much to keep track of.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @Lakshmana
                        last edited by

                        @Lakshmana Why don't you use the wan IP of the CentOS box to SSH into then SSH from that to the LAN machines?

                        LakshmanaL 1 Reply Last reply Reply Quote 0
                        • LakshmanaL
                          Lakshmana @A Former User
                          last edited by

                          @thecreativeone91 If this is possible to do?

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @thanksajdotcom
                            last edited by

                            @thanksajdotcom said:

                            Right. You can forward different external ports to internal port 22 on different IPs. That's another way to do it.

                            Don't keep adding new concepts. Let's stick just to getting through his one question. He's confused enough.

                            LakshmanaL 1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller @Lakshmana
                              last edited by

                              @Lakshmana said:

                              @thecreativeone91 If this is possible to do?

                              It's super easy. So much easier than port forwarding in the firewall. And far more useful.

                              LakshmanaL 1 Reply Last reply Reply Quote 0
                              • LakshmanaL
                                Lakshmana @scottalanmiller
                                last edited by

                                @scottalanmiller Yes Scott I got somewhat confused

                                1 Reply Last reply Reply Quote 0
                                • LakshmanaL
                                  Lakshmana @scottalanmiller
                                  last edited by

                                  @scottalanmiller Can you explain Scott

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Is there a reason that you are using CentOS for this? This is a rather complicated setup that a normal IT pro would not do. Normally you would simply install a firewall product like SmoothWall or pfSense and be done with it. Far easier AND more secure. You should be done in minutes and not need to learn anything new.

                                    LakshmanaL 1 Reply Last reply Reply Quote 0
                                    • LakshmanaL
                                      Lakshmana @scottalanmiller
                                      last edited by

                                      @scottalanmiller My manager said me to install firewall with IPtables only

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Lakshmana
                                        last edited by

                                        @Lakshmana said:

                                        @scottalanmiller My manager said me to install firewall with IPtables only

                                        Your manager is an idiot. There is no way around that.

                                        But even still, use SmoothWall, it uses IPTables. So you meet his requirements in a more sensible way. Installing CentOS makes no sense.

                                        LakshmanaL 1 Reply Last reply Reply Quote 2
                                        • LakshmanaL
                                          Lakshmana @scottalanmiller
                                          last edited by

                                          @scottalanmiller Ok OK.I need to install the smoothwall in the centos and after that I need to do that.Right

                                          ? 1 Reply Last reply Reply Quote 0
                                          • LakshmanaL
                                            Lakshmana
                                            last edited by Lakshmana

                                            When I tried to give the centos machine IP as 192.168.200.40/24 and gateway as 192.168.200.1/24.But the system in VM did not ping after giving gateway in the ifconfig of eth0

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post