and then restarted the firewall and it still works - even after reboot

I did notice that before I restarted the firewall, iptables -L did not list 
ssh and actually listed mdns or something
It's fixed now and iptables -L lists:

ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp 
dpt:ssh

I restored from the snapshot i took before i started messing with stuff and 
iptables -L in the broken configuration lists

ACCEPT     udp  --  anywhere             224.0.0.251          state NEW udp 
dpt:mdns

I then just ran

system-config-firewall

and performed the following sequence to fix the iptables config

disable
apply
enable
apply

I'm going to leave it at that and rebuild my base box :)


On Friday, 14 February 2014 11:16:40 UTC+1, Peter Halliday wrote:
>
> correction i just got it to work by disabling the firewall :s
>
> On Friday, 14 February 2014 10:53:06 UTC+1, Peter Halliday wrote:
>>
>> fedora 17 - I have also tried
>>
>> systemctl disable NetworkManager.service
>>
>> instead of chkconfig
>>
>> but it doesn't make a difference.
>>
>> This doesn't seem to be a  vagrant problem - I noticed that the original 
>> VM won't accept connections either.
>>
>> I manually added a a forwarded port from 2222 to 22 and then tried
>>
>> ssh localhost -p 2222
>>
>> but it just hangs
>>
>> I verified that sshd is running and can connect from inside the VM to 
>> itself with ssh
>> I also checked the firewall which is on but allowing ssh on port 22 (I 
>> also tried disabling the firewall just to be sure)
>>
>> Also whereas earlier i did get it to respond after messing with the 
>> network settings in virtual box, I can no longer reproduce that either :s
>>
>> On Friday, 14 February 2014 02:09:57 UTC+1, Alvaro Miranda Aguilera wrote:
>>>
>>>
>>> On Fri, Feb 14, 2014 at 12:03 PM, Peter Halliday <[email protected]>wrote:
>>>
>>>> p2p1
>>>
>>>
>>>
>>> hey, that could be the reason..
>>>
>>> what version of fedora are you using?
>>>
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to