Search:

Type: Posts; User: SeijiSensei; Keyword(s):

Search: Search took 0.29 seconds.

  1. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    No, you don't need a -j DROP rule if the INPUT policy is DROP.

    I showed you the results of the scans. If there were open ports, it would say so. For instance, here's another machine I maintain:...
  2. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    Can't help with tap/tun. Other than that one project I mentioned for a client, I've never used OpenVPN on Windows. My implementations have been static tunnels between machines running Linux, and all...
  3. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    The last rule provides unrestricted access to your.local.ip.addr on all ports and using all protocols. So if you're using SSH from the machine with your.local.ip.addr then you'll be able to connect....
  4. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    I think you should drop the firewall for the time being until you are sure you can establish a tunnel between the two computers. Or else use a very simple firewall like


    iptables -P INPUT -j...
  5. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    I have a client with Windows users who all connect to a router I maintain using OpenVPN. Here are the server and client .conf files:

    Server running Linux


    dev tun
    port NNNNN

    # create a...
  6. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    If you run "ip addr" from a prompt, do you see an entry for tun0? Does it have the right address? If you run "ip route" do you see routing set up to send packets from your computer to the remote? ...
  7. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    Usually OpenVPN uses the tun device, not tap.

    Do you have "dev tun" or "dev tap" in your openvpn.conf files?

    If the problem is that the traffic is not traveling over the tunnel, first, make...
  8. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    What happened to

    sudo iptables -A INPUT -p tcp --dport 5555 -j ACCEPT

    For OpenVPN, you may need both a TCP rule and a UDP rule.

    Try adding

    iptables -A INPUT -p tcp --dport 1194 -j...
  9. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    If you were to run a command like

    /sbin/iptables -A INPUT ...
    after those other rules are in place, that command will fail because the "-A INPUT -j DROP" command will precede it. Without that...
  10. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    First, about the localhost address. Yes, I forgot to exempt it in the rules above. It's easier to write a rule that exempts the "lo" interface like this:



    /sbin/iptables -P INPUT -j DROP...
  11. Replies
    45
    Views
    46

    Re: Will using iptables secure Ubuntu?

    First, out of the box, Ubuntu has no services that listen on ports. So it's largely invulnerable to most attacks.

    Does the machine present a publicly-visible interface? Does anyone other than...
Results 1 to 11 of 11