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 @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
                                  • ?
                                    A Former User @Lakshmana
                                    last edited by

                                    @Lakshmana said:

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

                                    It's a pre-built appliance. You'd need to just download whatever Router OS you are going to use and install it.

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

                                      @thecreativeone91 how to download ?sudo apt-get install ????

                                      ? thanksajdotcomT 2 Replies Last reply Reply Quote 0
                                      • ?
                                        A Former User @Lakshmana
                                        last edited by

                                        @Lakshmana said:

                                        @thecreativeone91 how to download ?sudo apt-get install ????

                                        Not. It's not an application package. (CentOS uses Yum not apt-get anyway) but it's a pre-bulit system of applications, configs, etc.

                                        https://www.pfsense.org/download/
                                        http://www.smoothwall.org/download/

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

                                          @Lakshmana said:

                                          @thecreativeone91 how to download ?sudo apt-get install ????

                                          CentOS uses yum, not apt-get. apt-get is Ubuntu.

                                          ? LakshmanaL 2 Replies Last reply Reply Quote 0
                                          • thanksajdotcomT
                                            thanksajdotcom @A Former User
                                            last edited by

                                            @thecreativeone91 said:

                                            @Lakshmana said:

                                            @thecreativeone91 how to download ?sudo apt-get install ????

                                            Not. It's not an application package. (CentOS uses Yum not apt-get anyway) but it's a pre-bulit system of applications, configs, etc.

                                            https://www.pfsense.org/download/
                                            http://www.smoothwall.org/download/

                                            Exactly. Wipe your current VM and start over. Download a pre-built ISO and install that.

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