Search:

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

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. [ubuntu] Only first account in chap-secrets can vpn in?

    I installed pptp as described here: https://help.ubuntu.com/community/PPTPServer

    Works like a champ if I try to login with the credentials of the first account in chap-secrets. If I do the...
  2. Replies
    10
    Views
    308

    [ubuntu] Re: Grr. Almost there with nat...

    Well, I'm not sure asterisk has anything to do with it. The packet leaves the asterisk computer and is bounced back by the firewall with both the sender and receiver address changed. I can see that...
  3. Replies
    10
    Views
    308

    [ubuntu] Re: Grr. Almost there with nat...

    By adding an "-i em1" to my prerouting rule, I get a clean communication from asterisk#1 to asterisk#2:


    $IPT -t nat -A PREROUTING -i em1 -s (asterisk#1publicIP) -d (asterisk#2publicIP) -p udp...
  4. Replies
    10
    Views
    308

    [ubuntu] Re: Grr. Almost there with nat...

    Thinking about it some more, it seems like each packet being sent from asterisk#2 is being reflected back to it by the ubuntu gateway. That's why you see 6 packets in that conversation but only 3...
  5. Replies
    10
    Views
    308

    [ubuntu] Re: Grr. Almost there with nat...

    What I described above was for when asterisk#1 is initiating contact with asterisk#2. When it's the other way around, it's even weirder. I decided to run tcpdump on two different interfaces of the...
  6. Replies
    10
    Views
    308

    [ubuntu] Re: Grr. Almost there with nat...

    Well, I'd like to stay with SNAT and DNAT as I've read all over the internet they're less CPU-intensive than masquerade. Also, they should work fine if all IP addresses are known. As you can see, I...
  7. Replies
    10
    Views
    308

    [ubuntu] Grr. Almost there with nat...

    I have an asterisk server#1 (privateIP1) behind a plain old wifi access point (PublicIP1) in one city and another asterisk server#2 (privateIP2) behind an ubuntu server (acting as a gateway with...
  8. Replies
    6
    Views
    198

    [ubuntu] Re: iptables doesn't work upon reboot

    My script is just a list of iptables rules. That's it. I then do a iptables-save to a file and an iptables-restore from that file on boot and it doesn't work.

    Oh well, my script in rc.local...
  9. Replies
    6
    Views
    198

    [ubuntu] Re: iptables doesn't work upon reboot

    Thanks for the tip. I uninstalled that package and did it the way you suggest. Unfortunately, it didn't seem to make a difference.

    Remember, after a reboot, when I examine the iptables in...
  10. Replies
    6
    Views
    198

    [ubuntu] iptables doesn't work upon reboot

    I followed the tutorial here to make the iptables changes I make persistent.

    I see that it does indeed make a /etc/iptables/rules.v4 file with everything I want in there.

    Before rebooting to...
  11. Replies
    2
    Views
    212

    [ubuntu] Re: Simple port forward with iptables...

    Well, it turns out the server needed to be rebooted. I guess you can only flush iptables so many times...

    Thanks for your help!
  12. Replies
    2
    Views
    212

    [ubuntu] Simple port forward with iptables...

    I'd like to forward udp packets with port 4569 from my gateway ubuntu server (PUBLICIP) to my asterisk server inside (LOCALIP).

    Here are the rules I've done:


    $IPT -t nat -A PREROUTING -p udp...
  13. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    I tried another version:


    -A PREROUTING -i p1p1 -o p3p1 -j DROP

    but I can't re-enable ufw with that in there - it throws an error. By the way, this is inside the *nat section. Is that what...
  14. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    I tried adding:


    -A PREROUTING -i p1p1 -d 192.168.6.0/24 -j DROP

    but I got an error when trying to enable ufw. I then changed it to:


    -A PREROUTING -i p1p1 -d 192.168.6.4 -j DROP
  15. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    I'm experimenting in just trying to block my ip address (192.168.1.238) from another IP I don't want to be able to get to (192.168.6.4) by adding the following line to before.rules but I'm still able...
  16. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    I've discovered the problem with the 6.* communication. They were misconfigured to use an incorrect gateway. They are all set up now. Only problem I have is trying to figure out how to isolate...
  17. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    Sure!


    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    default Public_Gateway_IP 0.0.0.0 UG 0 0 0 em1...
  18. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    Haven't tried tcpdump yet. Will look into how to use it - always want to learn a new tool.

    Meanwhile, I've changed the before.rules to use MASQUERADING instead of SNAT. I also show three port...
  19. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    Looks like you're right. I just commented out those lines and I'm able to still ping into other subnets (although still not into the 6.* subnet). Guess those rules weren't doing anything.

    Guess...
  20. Replies
    16
    Views
    343

    [ubuntu] Re: Some port forwards don't work...

    I thought the -i was stating where the packet was coming from. In my case, the packets will always be coming from me on the p1p1 (192.168.1/24) interface. I just modified it anyway and,...
  21. Replies
    16
    Views
    343

    [ubuntu] Some port forwards don't work...

    I'm on 14.04.2 server and I have two network cards with 8 total ports. Only five are being used (4 on one card, 1 on the other). Here are the interface specs:

    p1p1 = 192.168.1.*
    p1p2 =...
  22. [SOLVED] Re: Masquerading using multiple external addresses?

    Thanks! I'll try that out and report back.

    Edit: Worked perfectly! Thank you very much. Now I'm off to figure out what I need to do to make this internet-facing server safe.
  23. [SOLVED] Masquerading using multiple external addresses?

    (Using headless ubuntu server 14.04.2)

    I'm using the tutorial here to set up masquerading. Works like a charm. There's one line in the setup that looks like this:



    What I'm doing is a...
  24. Replies
    18
    Views
    521

    [SOLVED] Re: Can't get boot menu to go away

    Nope. Just typing "reboot" from the command line each time. No power failures ever. In fact, it's hooked up to a UPS.
  25. Replies
    18
    Views
    521

    [SOLVED] Re: Can't get boot menu to go away

    Found this link that appears to explain the problem: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/872244

    Basically, all I had to do was add GRUB_RECORDFAIL_TIMEOUT=0 to the...
Results 1 to 25 of 147
Page 1 of 6 1 2 3 4