Search found 1432 matches

by Gordon
21 Dec 2011, 11:12
Forum: B2 & B3 Support
Topic: SSH access to NATted internal server
Replies: 9
Views: 4042

Re: SSH access to NATted internal server

Did you add both lines? Also, as I am referring to my own B3 I may have made the wrong assumption that you have a WiFi enabled B3. If yours does not have WiFi you need to change the outgoing interface br0 to eth1. Troubleshooting netfilter is not real easy. Afaik there's no debug option. You could p...
by Gordon
21 Dec 2011, 10:14
Forum: B2 & B3 Support
Topic: SSH access to NATted internal server
Replies: 9
Views: 4042

Re: SSH access to NATted internal server

Yes it does exist, but the modprobe command does not do anything. That's okay - it means the module is already loaded. I'm not sure what could be wrong - if I type the command at the prompt the rule gets added without issue. So let's recap with your values: iptables -t nat -A PREROUTING -i eth0 -p ...
by Gordon
21 Dec 2011, 09:42
Forum: B2 & B3 Support
Topic: SSH access to NATted internal server
Replies: 9
Views: 4042

Re: SSH access to NATted internal server

Hmmm, that's strange...

Although I did make quite a few changes to the original setup. Can you verify that "/lib/modules/2.6.38/kernel/net/ipv4/netfilter/iptable_nat.ko" exists? Or just try

Code: Select all

# modprobe iptable_nat
by Gordon
21 Dec 2011, 08:15
Forum: B2 & B3 Support
Topic: SSH access to NATted internal server
Replies: 9
Views: 4042

Re: SSH access to NATted internal server

I'm sorry, my bad. I forgot to write down the target This is the correct line: ## Adds a portforwarding rule # iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport <ext_port> \ -j DNAT --to-destination <webserver>:22 ## Actually allow traffic to pass that way # iptables -A FORWARD -i eth0 -o ...
by Gordon
21 Dec 2011, 07:33
Forum: B2 & B3 Support
Topic: SSH access to NATted internal server
Replies: 9
Views: 4042

Re: SSH access to NATted internal server

Need two rules in the firewall: ## Adds a portforwarding rule # iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport <ext_port> \ --to-destination <webserver>:22 ## Actually allow traffic to pass that way # iptables -A FORWARD -i eth0 -o br0 -p tcp -m tcp -d <webserver> --dport 22 -j ACCEPT
by Gordon
21 Dec 2011, 05:02
Forum: B2 & B3 Support
Topic: Logitech Media Server
Replies: 9
Views: 3797

Re: Logitech Media Server

According to THIS post here it should be released shortly.
by Gordon
20 Dec 2011, 06:23
Forum: B2 & B3 Support
Topic: Need to connect to MySQL on port 3306
Replies: 11
Views: 4422

Re: Need to connect to MySQL on port 3306

Well then that explains the confusion. Yes, the WAN port is shielded by the firewall. So while plugging in the WAN connector is the quickest and easiest way to connect the Bubba to an existing LAN environment (because of the DHCP client), it will get you in trouble connecting to any of the Bubba hos...
by Gordon
19 Dec 2011, 16:42
Forum: B2 & B3 Support
Topic: Need to connect to MySQL on port 3306
Replies: 11
Views: 4422

Re: Need to connect to MySQL on port 3306

Is 192.168.x.0 the subnet that is connected to the Bubba LAN port or the WAN port :?:
by Gordon
19 Dec 2011, 02:10
Forum: B2 & B3 Support
Topic: Need to connect to MySQL on port 3306
Replies: 11
Views: 4422

Re: Need to connect to MySQL on port 3306

Sounds like a routing/DNS issue. The firewall settings control just the outside (WAN) interface, so if this solves it for you that would imply that MySQL is communicating primarily over the WAN interface. It should be possible to verify this using netstat after you opened a session: # netstat -an | ...
by Gordon
18 Dec 2011, 14:51
Forum: B2 & B3 Support
Topic: Need to connect to MySQL on port 3306
Replies: 11
Views: 4422

Re: Need to connect to MySQL on port 3306

The default for MySQL is to create host-bound users. If you get phpMyAdmin you can easily verify that what you think is just user "jan" is in fact user "jan@bubba". If you want Jan to connect from any place the user should be named "jan@%". Unfortunately I do not know of any method to lift the host ...
by Gordon
18 Dec 2011, 14:20
Forum: B2 & B3 Support
Topic: Virtual hosts redirect to /admin
Replies: 20
Views: 9396

Re: Virtual hosts redirect to /admin

ah yes. This issue just keeps on popping up, there must be a dozen threads with this exact question, and the real issue is that the Bubba interface in not in a virtualhost. Should be an easy fix yes? Actually the Bubba interface is a a virtualhost, or are you referring to the /admin page? The quick...
by Gordon
18 Dec 2011, 14:15
Forum: B2 & B3 Support
Topic: Virtual hosts redirect to /admin
Replies: 20
Views: 9396

Re: Virtual hosts redirect to /admin

OK. Did that. Now everything is truly strange, probably not because this last change. What do you mean with "everything is truly strange"? Is the "harmonyhill" page now using the right webroot but everything else gone quirky? If you have DNS names pointing to your IP that do not require any differe...
by Gordon
18 Dec 2011, 13:55
Forum: B2 & B3 Support
Topic: Virtual hosts redirect to /admin
Replies: 20
Views: 9396

Re: Virtual hosts redirect to /admin

should that not be >> instead of > Same thing - it's a file that does not exist in the default setup and the only thing it should do is make sure that the directive is added before the first vhost definition. Since I "invented" the file I'm not expecting anything else to be in there that should not...
by Gordon
18 Dec 2011, 08:01
Forum: B2 & B3 Support
Topic: Virtual hosts redirect to /admin
Replies: 20
Views: 9396

Re: Virtual hosts redirect to /admin

Looks fine ...

:idea: Did you also specify the "NameVirtualHost" directive? Try this:

Code: Select all

# su
# echo "NameVirtualHost *:80">/etc/apache2/conf.d/name-vhosts.conf
#/etc/init.d/apache2 restart
by Gordon
17 Dec 2011, 17:19
Forum: B2 & B3 Support
Topic: Virtual hosts redirect to /admin
Replies: 20
Views: 9396

Re: Virtual hosts redirect to /admin

I hate to state the obvious, but based on what you're telling the vhost is actually not working and you're falling back to the default host.

Are you attempting to create an IP based virtual host (i.e. distinguish between LAN and WAN) or a named virtual host? You're doing http and not https I hope?